diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-05-14 10:25:53 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-05-15 10:31:51 -0400 |
commit | 257de6ebe15d3076e19f05f93c5b3c7fae25a4d3 (patch) | |
tree | 6348bcdb7a9f38fc6a04be23ddc9ffec6c5261be /test/ext/asyncio/test_engine_py3k.py | |
parent | 9f0db34563a05a7b9f6e09110d35ce0d0f36d3a9 (diff) | |
download | sqlalchemy-257de6ebe15d3076e19f05f93c5b3c7fae25a4d3.tar.gz |
adjust log stacklevel for py3.11.0b1; enable greenlet
Fixed issue where support for logging "stacklevel" implemented in
:ticket:`7612` required adjustment to work with recently released Python
3.11.0b1, also repairs the unit tests which tested this feature.
Install greenlet from a py311 compat patch.
re: the stacklevel thing, this is going to be very inconvenient
if we have to keep hardcoding numbers everywhere for every
new python version
Change-Id: I0c8f7293e98c0ca5cc544538284bfd1d3020cb1f
References: https://github.com/python-greenlet/greenlet/issues/288
Fixes: #8019
Diffstat (limited to 'test/ext/asyncio/test_engine_py3k.py')
-rw-r--r-- | test/ext/asyncio/test_engine_py3k.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ext/asyncio/test_engine_py3k.py b/test/ext/asyncio/test_engine_py3k.py index 462d0900f..23c422bcf 100644 --- a/test/ext/asyncio/test_engine_py3k.py +++ b/test/ext/asyncio/test_engine_py3k.py @@ -1010,6 +1010,8 @@ class AsyncResultTest(EngineFixture): class TextSyncDBAPI(fixtures.TestBase): + __requires__ = ("asyncio",) + def test_sync_dbapi_raises(self): with expect_raises_message( exc.InvalidRequestError, |