diff options
Diffstat (limited to 'test/dialect/postgresql/test_async_pg_py3k.py')
-rw-r--r-- | test/dialect/postgresql/test_async_pg_py3k.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/postgresql/test_async_pg_py3k.py b/test/dialect/postgresql/test_async_pg_py3k.py index 4ccc847dc..d9116a7ce 100644 --- a/test/dialect/postgresql/test_async_pg_py3k.py +++ b/test/dialect/postgresql/test_async_pg_py3k.py @@ -268,7 +268,7 @@ class AsyncPgTest(fixtures.TestBase): engine = async_testing_engine() with mock.patch.object(engine.dialect, methname) as codec_meth: conn = await engine.connect() - adapted_conn = (await conn.get_raw_connection()).connection + adapted_conn = (await conn.get_raw_connection()).dbapi_connection await conn.close() eq_(codec_meth.mock_calls, [mock.call(adapted_conn)]) |