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 45942d6 commit 8d80510Copy full SHA for 8d80510
Lib/test/test_asyncio/test_futures.py
@@ -756,7 +756,7 @@ def test_future_disallow_multiple_initialization(self):
756
f.__init__(loop=self.loop)
757
758
def test_futureiter_send_after_throw_no_crash(self):
759
- async def exploit():
+ async def run_test():
760
loop = asyncio.get_event_loop()
761
fut = loop.create_future()
762
it = fut.__await__()
@@ -767,7 +767,7 @@ async def exploit():
767
pass
768
with self.assertRaises(StopIteration):
769
it.send(None)
770
- asyncio.run(exploit())
+ asyncio.run(run_test())
771
772
773
@unittest.skipUnless(hasattr(futures, '_CFuture'),
0 commit comments