We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 301cef5 commit 01f491dCopy full SHA for 01f491d
1 file changed
tests/test_trio_asyncio.py
@@ -10,25 +10,16 @@ async def use_asyncio():
10
11
12
@pytest.fixture()
13
-@async_generator
14
-async def asyncio_loop():
15
- async with trio_asyncio.open_loop() as loop:
16
- await yield_(loop)
17
-
18
19
-@pytest.fixture()
20
21
-async def asyncio_fixture_with_fixtured_loop(asyncio_loop):
+async def asyncio_fixture_with_fixtured_loop(loop):
22
await use_asyncio()
23
- await yield_()
+ yield None
24
25
26
27
28
async def asyncio_fixture_own_loop():
29
async with trio_asyncio.open_loop():
30
31
32
33
34
@pytest.mark.trio
0 commit comments