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:
parent
7a3fa0bc1c
commit
1c46ed7b31
1 changed files with 0 additions and 14 deletions
|
@ -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()
|
|
Loading…
Reference in a new issue