Skip to content

Commit

Permalink
Use preferred 'fixture'. Fixes deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 20, 2022
1 parent 77060e6 commit 4634d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irc/tests/test_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def handle(self):
self.request.close()


@pytest.yield_fixture
@pytest.fixture
def disconnecting_server():
"""
An IRC server that disconnects the client immediately.
Expand Down

0 comments on commit 4634d13

Please sign in to comment.