diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-12-08 18:04:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-12-08 18:04:25 +0000 |
| commit | c5831b1abd98c46ef7eab7ee82ead18756aea112 (patch) | |
| tree | 4699cf11577807337e92edb197c8a52b4d5969af /lib/sqlalchemy/testing | |
| parent | 18b1b261ff988549e75b011f2f4296fb13b24d64 (diff) | |
| parent | 76d90152302461637cfecb6c0cac65a50975c570 (diff) | |
| download | sqlalchemy-c5831b1abd98c46ef7eab7ee82ead18756aea112.tar.gz | |
Merge "Detect non compatible execution in async mode"
Diffstat (limited to 'lib/sqlalchemy/testing')
| -rw-r--r-- | lib/sqlalchemy/testing/asyncio.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/sqlalchemy/testing/asyncio.py b/lib/sqlalchemy/testing/asyncio.py deleted file mode 100644 index 2e274de16..000000000 --- a/lib/sqlalchemy/testing/asyncio.py +++ /dev/null @@ -1,14 +0,0 @@ -from .assertions import assert_raises as _assert_raises -from .assertions import assert_raises_message as _assert_raises_message -from ..util import await_fallback as await_ -from ..util import greenlet_spawn - - -async def assert_raises_async(except_cls, msg, coroutine): - await greenlet_spawn(_assert_raises, except_cls, await_, coroutine) - - -async def assert_raises_message_async(except_cls, msg, coroutine): - await greenlet_spawn( - _assert_raises_message, except_cls, msg, await_, coroutine - ) |
