bpo-47118: Fix asyncio.Runner tests error (32117)

This commit is contained in:
Andrew Svetlov 2022-03-25 19:59:29 +02:00 committed by GitHub
parent c07ca1aab6
commit 20e6e5636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class RunnerTests(BaseTest):
self.assertEqual(-1, runner.run(f(1)))
self.assertEqual(1, runner.run(f(2)))
self.assertEqual({cvar: 2}, dict(runner.run(get_context())))
self.assertEqual(2, runner.run(get_context()).get(cvar))
def test_recursine_run(self):
async def g():