diff --git a/responses/tests/test_registries.py b/responses/tests/test_registries.py index 2ab035b1..c2c90d97 100644 --- a/responses/tests/test_registries.py +++ b/responses/tests/test_registries.py @@ -63,7 +63,8 @@ def run_with_registry(): assert_reset() -async def test_registry_async(): +@pytest.mark.asyncio +async def test_registry_async(): # type: ignore[misc] class CustomRegistry(registries.FirstMatchRegistry): pass diff --git a/responses/tests/test_responses.py b/responses/tests/test_responses.py index e074f6a9..12176b92 100644 --- a/responses/tests/test_responses.py +++ b/responses/tests/test_responses.py @@ -2263,7 +2263,8 @@ def run(): assert_reset() -async def test_async_calls(): +@pytest.mark.asyncio +async def test_async_calls(): # type: ignore[misc] @responses.activate async def run(): responses.add(