diff options
| -rw-r--r-- | test/dialect/postgresql/test_dialect.py | 3 | ||||
| -rw-r--r-- | test/dialect/postgresql/test_types.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/dialect/postgresql/test_dialect.py b/test/dialect/postgresql/test_dialect.py index 2166bca32..9f86aaa7a 100644 --- a/test/dialect/postgresql/test_dialect.py +++ b/test/dialect/postgresql/test_dialect.py @@ -118,7 +118,8 @@ class MiscTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiledSQL): eq_(c.connection.connection.encoding, test_encoding) @testing.only_on( - ['postgresql+psycopg2', 'postgresql+pg8000', 'postgresql+psycopg2cffi'], + ['postgresql+psycopg2', 'postgresql+pg8000', + 'postgresql+psycopg2cffi'], 'psycopg2 / pg8000 - specific feature') @engines.close_open_connections def test_autocommit_isolation_level(self): diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py index 5f1d37b24..95c034f11 100644 --- a/test/dialect/postgresql/test_types.py +++ b/test/dialect/postgresql/test_types.py @@ -382,7 +382,8 @@ class NumericInterpretationTest(fixtures.TestBase): from sqlalchemy.dialects.postgresql import psycopg2cffi, pg8000, \ psycopg2, base - dialects = pg8000.dialect(), psycopg2.dialect(), psycopg2cffi.dialect() + dialects = (pg8000.dialect(), psycopg2.dialect(), + psycopg2cffi.dialect()) for dialect in dialects: typ = Numeric().dialect_impl(dialect) for code in base._INT_TYPES + base._FLOAT_TYPES + \ |
