From 1c46ed7b31254abe1aa284b6792502c4e0c188a0 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 10 Jan 2021 16:36:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20useless=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/tests/test_pytest.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 royalnet/tests/test_pytest.py 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()