1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

🧹 Remove useless test

This commit is contained in:
Steffo 2021-01-10 16:36:05 +01:00
parent 7a3fa0bc1c
commit 1c46ed7b31

View file

@ -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()