diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-10 09:52:18 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-10 09:52:18 -0500 |
commit | 2c41cd99d8a4d8bb27c975f5e2511ab2bf261110 (patch) | |
tree | c30ddba828bd47f3581f8d41a00b16ecd9f18e02 /test/dialect/postgresql/test_async_pg_py3k.py | |
parent | d42207c9daeead926c33fa4da4bf1dddcc8d7016 (diff) | |
download | sqlalchemy-2c41cd99d8a4d8bb27c975f5e2511ab2bf261110.tar.gz |
qualify asyncpg API tests for python 3.8
Getting
TypeError: object MagicMock can't be used in 'await' expression
for Python 3.7 and earlier. this test is not needed
on all platforms it's confirming that two methods
are present.
Change-Id: If918add023c98c062ea0c1cd132a999647a2d35f
Diffstat (limited to 'test/dialect/postgresql/test_async_pg_py3k.py')
-rw-r--r-- | test/dialect/postgresql/test_async_pg_py3k.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dialect/postgresql/test_async_pg_py3k.py b/test/dialect/postgresql/test_async_pg_py3k.py index 12917e976..782cf33dd 100644 --- a/test/dialect/postgresql/test_async_pg_py3k.py +++ b/test/dialect/postgresql/test_async_pg_py3k.py @@ -258,6 +258,7 @@ class AsyncPgTest(fixtures.TestBase): "setup_asyncpg_jsonb_codec", argnames="methname", ) + @testing.requires.python38 @async_test async def test_codec_registration( self, metadata, async_testing_engine, methname |