Skip to content

Commit 8d80510

Browse files
Name change
1 parent 45942d6 commit 8d80510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_asyncio/test_futures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def test_future_disallow_multiple_initialization(self):
756756
f.__init__(loop=self.loop)
757757

758758
def test_futureiter_send_after_throw_no_crash(self):
759-
async def exploit():
759+
async def run_test():
760760
loop = asyncio.get_event_loop()
761761
fut = loop.create_future()
762762
it = fut.__await__()
@@ -767,7 +767,7 @@ async def exploit():
767767
pass
768768
with self.assertRaises(StopIteration):
769769
it.send(None)
770-
asyncio.run(exploit())
770+
asyncio.run(run_test())
771771

772772

773773
@unittest.skipUnless(hasattr(futures, '_CFuture'),

0 commit comments

Comments
 (0)