mirror of https://github.com/python/cpython
bpo-47118: Fix asyncio.Runner tests error (32117)
This commit is contained in:
parent
c07ca1aab6
commit
20e6e5636a
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue