Debian Codegraph @

tests/legacy/__init__.py

raw
1 from __future__ import annotations
2
3 import warnings
4
5
6 with warnings.catch_warnings():
7 # Suppress DeprecationWarning raised by websockets.legacy.
8 warnings.filterwarnings("ignore", category=DeprecationWarning)
9 import websockets.legacy # noqa: F401