diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ext/asyncio/test_scoping_py3k.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ext/asyncio/test_scoping_py3k.py b/test/ext/asyncio/test_scoping_py3k.py index 7eeff566c..065dc7442 100644 --- a/test/ext/asyncio/test_scoping_py3k.py +++ b/test/ext/asyncio/test_scoping_py3k.py @@ -1,5 +1,3 @@ -from asyncio import current_task - import sqlalchemy as sa from sqlalchemy import func from sqlalchemy import select @@ -48,7 +46,10 @@ class AsyncScopedSessionTest(AsyncFixture): await AsyncSession.flush() eq_(await conn.scalar(stmt), 0) + @testing.requires.python37 def test_attributes(self, async_engine): + from asyncio import current_task + expected = [ name for cls in _AsyncSession.mro() |
