diff options
Diffstat (limited to 'test/engine')
-rw-r--r-- | test/engine/test_ddlevents.py | 3 | ||||
-rw-r--r-- | test/engine/test_pool.py | 2 | ||||
-rw-r--r-- | test/engine/test_reconnect.py | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/engine/test_ddlevents.py b/test/engine/test_ddlevents.py index b3f73f6b1..0d828b340 100644 --- a/test/engine/test_ddlevents.py +++ b/test/engine/test_ddlevents.py @@ -461,12 +461,11 @@ class DDLExecutionTest(fixtures.TestBase): r = eval(py) assert list(r) == [(1,)], py - @testing.fails_on('postgresql+pg8000', 'pg8000 requires explicit types') def test_platform_escape(self): """test the escaping of % characters in the DDL construct.""" default_from = testing.db.dialect.statement_compiler( - testing.db.dialect, None).default_from() + testing.db.dialect, None).default_from() # We're abusing the DDL() # construct here by pushing a SELECT through it diff --git a/test/engine/test_pool.py b/test/engine/test_pool.py index a9e650cca..29f369753 100644 --- a/test/engine/test_pool.py +++ b/test/engine/test_pool.py @@ -101,6 +101,7 @@ class PoolTest(PoolTestBase): @testing.fails_on('+pyodbc', "pyodbc cursor doesn't implement tuple __eq__") + @testing.fails_on("+pg8000", "returns [1], not (1,)") def test_cursor_iterable(self): conn = testing.db.raw_connection() cursor = conn.cursor() @@ -109,7 +110,6 @@ class PoolTest(PoolTestBase): for row in cursor: eq_(row, expected.pop(0)) - def test_no_connect_on_recreate(self): def creator(): raise Exception("no creates allowed") diff --git a/test/engine/test_reconnect.py b/test/engine/test_reconnect.py index e6897b13d..f92b874da 100644 --- a/test/engine/test_reconnect.py +++ b/test/engine/test_reconnect.py @@ -444,7 +444,6 @@ class CursorErrTest(fixtures.TestBase): ) - def _assert_invalidated(fn, *args): try: fn(*args) @@ -453,8 +452,10 @@ def _assert_invalidated(fn, *args): if not e.connection_invalidated: raise + class RealReconnectTest(fixtures.TestBase): __backend__ = True + __requires__ = 'graceful_disconnects', def setup(self): self.engine = engines.reconnecting_engine() |