summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asyncio/test_runners.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_runners.py b/Lib/test/test_asyncio/test_runners.py
index 2919412..c0bd1a2 100644
--- a/Lib/test/test_asyncio/test_runners.py
+++ b/Lib/test/test_asyncio/test_runners.py
@@ -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():