Skip to content

Commit 94b031e

Browse files
Rename function fake_loop to event_loop in tests
Using the function name `fake_loop` does not replace the loop with one that doesn't interact with the outside world. So the function needs to be named `event_loop` instead. Signed-off-by: Daniel Zullo <[email protected]>
1 parent ae6253f commit 94b031e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/actor/test_resampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
@pytest.fixture(autouse=True)
29-
def fake_loop() -> Iterator[async_solipsism.EventLoop]:
29+
def event_loop() -> Iterator[async_solipsism.EventLoop]:
3030
"""Replace the loop with one that doesn't interact with the outside world."""
3131
loop = async_solipsism.EventLoop()
3232
yield loop

tests/timeseries/test_resampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939

4040
@pytest.fixture(autouse=True)
41-
def fake_loop() -> Iterator[async_solipsism.EventLoop]:
41+
def event_loop() -> Iterator[async_solipsism.EventLoop]:
4242
"""Replace the loop with one that doesn't interact with the outside world."""
4343
loop = async_solipsism.EventLoop()
4444
yield loop

0 commit comments

Comments
 (0)