Skip to content

Commit cb2b55c

Browse files
committed
Add asyncio fixture to test_async_receiver
This ensures that this test executes and passes with pytest-8.4+ pytest now throws errors for such functions [1] which were skipped in older versions
1 parent 74df7a2 commit cb2b55c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_signals.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def received(sender: t.Any) -> None:
257257
assert [id(fn) for fn in sig.receivers.values()] == [fn_id]
258258

259259

260+
@pytest.mark.asyncio
260261
async def test_async_receiver() -> None:
261262
sentinel = []
262263

0 commit comments

Comments
 (0)