Skip to content

Commit

Permalink
docs: Too big values for sleep breaks the example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Oct 18, 2020
1 parent 9feed9a commit 98f899a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,6 @@ async def test_sleeps():
vclock = aiotools.VirtualClock()
with vclock.patch_loop():
print(loop.time()) # -> prints 0
await asyncio.sleep(99999999999)
print(loop.time()) # -> prints 99999999999
await asyncio.sleep(3600)
print(loop.time()) # -> prints 3600
```

0 comments on commit 98f899a

Please sign in to comment.