summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-03-13 12:27:51 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-03-13 14:16:42 -0400
commitfb33f9c54be842e191c893c91b3233cd1ae545bc (patch)
treeeb82e447b4a88c71764b579b192ebf201b6efd26 /test
parent1da9d3752160430c91534a8868ceb8c5ad1451d4 (diff)
downloadsqlalchemy-fb33f9c54be842e191c893c91b3233cd1ae545bc.tar.gz
Repair _execute_scalar for WITH_UNICODE mode
cx_Oracle 5.3 seems to code this flag ON now, so remove the warning and ensure WITH_UNICODE handling works. Additionally, the XE setup on jenkins is having more problems here, in particular low-connections mode is causing cx_Oracle to fail more frequently now. Turning off low-connections fixes those but then we get the TNS errors, so adding an emergency "retry" flag that is not yet a feature available to users. Real world applications are not dropping/creating thousands of tables the way our test suite is. Change-Id: Ie95b0e697276c404d3264c2e624e870463d966d6 Fixes: #3937
Diffstat (limited to 'test')
-rw-r--r--test/dialect/test_oracle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dialect/test_oracle.py b/test/dialect/test_oracle.py
index bb3f56568..f6e1e14c7 100644
--- a/test/dialect/test_oracle.py
+++ b/test/dialect/test_oracle.py
@@ -1706,10 +1706,10 @@ class TypesTest(fixtures.TestBase):
@testing.provide_metadata
def test_reflect_nvarchar(self):
metadata = self.metadata
- Table('t', metadata, Column('data', sqltypes.NVARCHAR(255)))
+ Table('tnv', metadata, Column('data', sqltypes.NVARCHAR(255)))
metadata.create_all()
m2 = MetaData(testing.db)
- t2 = Table('t', m2, autoload=True)
+ t2 = Table('tnv', m2, autoload=True)
assert isinstance(t2.c.data.type, sqltypes.NVARCHAR)
if testing.against('oracle+cx_oracle'):