From e9bb771d82851bed31b3468184654bfae53fcc07 Mon Sep 17 00:00:00 2001 From: Faidon Liambotis Date: Thu, 29 Aug 2024 19:58:13 +0300 Subject: [PATCH] tests: remove pytestmark = pytest.mark.asyncio Remove a couple of occurences that were almost randomly sprinkled in the code. This would matter only if we used pytest-asyncio's asyncio_mode = "strict", and we don't intend to do so anytime soon. (If we did, more changes would be needed anyway.) --- tests/test_jaraco.py | 2 -- tests/test_rawsocket.py | 2 -- tests/test_rc2udp.py | 2 -- 3 files changed, 6 deletions(-) diff --git a/tests/test_jaraco.py b/tests/test_jaraco.py index cabf8a4..e573ec6 100644 --- a/tests/test_jaraco.py +++ b/tests/test_jaraco.py @@ -12,8 +12,6 @@ if TYPE_CHECKING: from ircstream.ircserver import IRCServer -pytestmark = pytest.mark.asyncio - BOTNAME = "testsuite-bot" diff --git a/tests/test_rawsocket.py b/tests/test_rawsocket.py index c614b96..345e32f 100644 --- a/tests/test_rawsocket.py +++ b/tests/test_rawsocket.py @@ -16,8 +16,6 @@ from ircstream.ircserver import IRCClient, IRCServer -pytestmark = pytest.mark.asyncio - class BareClient: """Bare client around socket operations to support a line-based protocol.""" diff --git a/tests/test_rc2udp.py b/tests/test_rc2udp.py index 3346742..5066523 100644 --- a/tests/test_rc2udp.py +++ b/tests/test_rc2udp.py @@ -10,8 +10,6 @@ from ircstream.rc2udp import RC2UDPServer -pytestmark = pytest.mark.asyncio - class MockIRCServer: """Mocks the IRCServer object.