Skip to content

Commit

Permalink
tests: remove pytestmark = pytest.mark.asyncio
Browse files Browse the repository at this point in the history
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.)
  • Loading branch information
paravoid committed Aug 29, 2024
1 parent 6b28430 commit e9bb771
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions tests/test_jaraco.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
if TYPE_CHECKING:
from ircstream.ircserver import IRCServer

pytestmark = pytest.mark.asyncio

BOTNAME = "testsuite-bot"


Expand Down
2 changes: 0 additions & 2 deletions tests/test_rawsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_rc2udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

from ircstream.rc2udp import RC2UDPServer

pytestmark = pytest.mark.asyncio


class MockIRCServer:
"""Mocks the IRCServer object.
Expand Down

0 comments on commit e9bb771

Please sign in to comment.