Skip to content

Commit

Permalink
Mark function for future removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Oct 23, 2022
1 parent 781f5b8 commit 413ae6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/legacy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def run_loop_once(self):
self.loop.call_soon(self.loop.stop)
self.loop.run_forever()

# Remove when dropping Python < 3.10
@contextlib.contextmanager
def assertNoLogs(self, logger="websockets", level=logging.ERROR):
"""
Expand Down

0 comments on commit 413ae6e

Please sign in to comment.