Skip to content

Commit 022d425

Browse files
committed
Remove fixture from trio test
1 parent fba428e commit 022d425

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_trio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class PyeeTestError(Exception):
1212

1313

1414
@pytest.mark.trio
15-
async def test_trio_emit():
15+
async def test_trio_emit() -> None:
1616
"""Test that the trio event emitter can handle wrapping
1717
coroutines
1818
"""
@@ -35,7 +35,7 @@ async def event_handler():
3535

3636

3737
@pytest.mark.trio
38-
async def test_trio_once_emit():
38+
async def test_trio_once_emit() -> None:
3939
"""Test that trio event emitters also wrap coroutines when
4040
using once
4141
"""
@@ -58,7 +58,7 @@ async def event_handler():
5858

5959

6060
@pytest.mark.trio
61-
async def test_trio_error():
61+
async def test_trio_error() -> None:
6262
"""Test that trio event emitters can handle errors when
6363
wrapping coroutines
6464
"""
@@ -86,7 +86,7 @@ async def handle_error(exc):
8686

8787

8888
@pytest.mark.trio
89-
async def test_sync_error(event_loop):
89+
async def test_sync_error() -> None:
9090
"""Test that regular functions have the same error handling as coroutines"""
9191

9292
async with TrioEventEmitter() as ee:

0 commit comments

Comments
 (0)