File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ dev-pytest = [
88
88
" frequenz-repo-config[extra-lint-examples] == 0.9.1" ,
89
89
" pytest-mock == 3.12.0" ,
90
90
" pytest-asyncio == 0.23.5" ,
91
- " async-solipsism == 0.5 " ,
91
+ " async-solipsism == 0.6 " ,
92
92
" time-machine == 2.14.0" ,
93
93
]
94
94
dev = [
Original file line number Diff line number Diff line change 24
24
25
25
26
26
# This method replaces the event loop for all tests in the file.
27
- @fixture (scope = "module" )
28
- def event_loop () -> Iterator [async_solipsism .EventLoop ]:
29
- """Replace the loop with one that doesn't interact with the outside world."""
30
- loop = async_solipsism .EventLoop ()
31
- yield loop
32
- loop .close ()
27
+ @fixture
28
+ def event_loop_policy () -> async_solipsism .EventLoopPolicy :
29
+ """Return an event loop policy that uses the async solipsism event loop."""
30
+ return async_solipsism .EventLoopPolicy ()
33
31
34
32
35
33
@fixture
You can’t perform that action at this time.
0 commit comments