Skip to content

Commit a723020

Browse files
committed
improve name of nap function in test_clock_loop
1 parent 3d34037 commit a723020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_simple_35.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ def test_async_close_loop(event_loop):
9191
def test_clock_loop(clock_event_loop):
9292
assert clock_event_loop.time() == 0
9393

94-
async def foo():
94+
async def short_nap():
9595
await asyncio.sleep(1)
9696

9797
# create the task
98-
task = clock_event_loop.create_task(foo())
98+
task = clock_event_loop.create_task(short_nap())
9999
assert not task.done()
100100

101101
# start the task

0 commit comments

Comments
 (0)