We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2800312 commit de3cbedCopy full SHA for de3cbed
test/asynchronous/test_async_contextvars_reset.py
@@ -27,6 +27,8 @@
27
28
class TestAsyncContextVarsReset(AsyncIntegrationTest):
29
async def test_context_vars_are_reset_in_executor(self):
30
+ if sys.version_info < (3, 11):
31
+ self.skipTest("Test requires asyncio.Task.get_context (added in Python 3.11)")
32
client = self.simple_client()
33
34
await client.db.test.insert_one({"x": 1})
0 commit comments