diff --git a/royalnet/tests/test_pytest.py b/royalnet/tests/test_pytest.py deleted file mode 100644 index 0b43ce3d..00000000 --- a/royalnet/tests/test_pytest.py +++ /dev/null @@ -1,14 +0,0 @@ -import asyncio -import pytest - - -async def sleep_and_raise(): - await asyncio.sleep(0.001) - raise Exception("Please except this gift!") - - -@pytest.mark.asyncio -class TestAsyncio: - async def test_exception(self): - with pytest.raises(Exception): - await sleep_and_raise()