Skip to content

Commit

Permalink
remove warning filter
Browse files Browse the repository at this point in the history
  • Loading branch information
finnagin authored Feb 19, 2025
1 parent 08266a3 commit 679e057
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tornado/test/tcpserver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,6 @@ class TestMultiprocess(unittest.TestCase):
# stdout stream) and then exits.
def run_subproc(self, code: str) -> Tuple[str, str]:
try:
py_ver = sys.version_info
if (3, 14, 0) <= py_ver:
# 3458 - This will work until 3.16 when the function is fully removed
setup_with_context_manager(self, warnings.catch_warnings())
warnings.filterwarnings(
"ignore",
message="'asyncio.DefaultEventLoopPolicy' is deprecated",
category=DeprecationWarning,
)
result = subprocess.run(
[sys.executable, "-Werror::DeprecationWarning"],
capture_output=True,
Expand Down

0 comments on commit 679e057

Please sign in to comment.