Skip to content

Commit 3d34037

Browse files
committed
add doc string to ClockEventLoop
1 parent 71701e1 commit 3d34037

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pytest_asyncio/plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ def pytest_runtest_setup(item):
160160

161161

162162
class ClockEventLoop(asyncio.SelectorEventLoop):
163+
"""
164+
A custom event loop that explicitly advances time when requested.
165+
"""
163166
_now = 0
164167

165168
def time(self):

0 commit comments

Comments
 (0)