Skip to content

Commit 197ff13

Browse files
authored
Merge pull request #3496 from bdarnell/undeprecate-set-event-loop
testing: Remove deprecation warning filter for set_event_loop
2 parents d8e0d36 + c3d906c commit 197ff13

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
tox_env: py312-full
5858
- python: '3.13'
5959
tox_env: py313-full
60-
- python: '3.14.0-alpha.1 - 3.14'
60+
- python: '3.14.0-beta.1 - 3.14'
6161
tox_env: py314-full
6262
- python: 'pypy-3.10'
6363
# Pypy is a lot slower due to jit warmup costs, so don't run the

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ black==24.4.2
1212
# via -r requirements.in
1313
build==1.2.1
1414
# via pip-tools
15-
cachetools==5.3.3
15+
cachetools==5.5.2
1616
# via tox
1717
certifi==2024.7.4
1818
# via requests
@@ -32,7 +32,7 @@ docutils==0.20.1
3232
# via
3333
# sphinx
3434
# sphinx-rtd-theme
35-
filelock==3.14.0
35+
filelock==3.18.0
3636
# via
3737
# tox
3838
# virtualenv
@@ -54,7 +54,7 @@ mypy-extensions==1.0.0
5454
# via
5555
# black
5656
# mypy
57-
packaging==24.1
57+
packaging==25.0
5858
# via
5959
# black
6060
# build
@@ -65,7 +65,7 @@ pathspec==0.12.1
6565
# via black
6666
pip-tools==7.4.1
6767
# via -r requirements.in
68-
platformdirs==4.2.2
68+
platformdirs==4.3.8
6969
# via
7070
# black
7171
# tox
@@ -78,7 +78,7 @@ pyflakes==3.2.0
7878
# via flake8
7979
pygments==2.18.0
8080
# via sphinx
81-
pyproject-api==1.6.1
81+
pyproject-api==1.9.1
8282
# via tox
8383
pyproject-hooks==1.1.0
8484
# via
@@ -109,15 +109,15 @@ sphinxcontrib-qthelp==1.0.7
109109
# via sphinx
110110
sphinxcontrib-serializinghtml==1.1.10
111111
# via sphinx
112-
tox==4.15.1
112+
tox==4.26.0
113113
# via -r requirements.in
114114
types-pycurl==7.45.3.20240421
115115
# via -r requirements.in
116116
typing-extensions==4.12.2
117117
# via mypy
118118
urllib3==2.2.2
119119
# via requests
120-
virtualenv==20.26.6
120+
virtualenv==20.31.2
121121
# via tox
122122
wheel==0.43.0
123123
# via pip-tools

tornado/testing.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -155,19 +155,6 @@ def setUp(self) -> None:
155155
category=DeprecationWarning,
156156
module=r"tornado\..*",
157157
)
158-
if (3, 14) <= py_ver:
159-
# TODO: This is a temporary hack pending resolution of
160-
# https://github.com/python/cpython/issues/130322
161-
# If set_event_loop is undeprecated, we can remove it; if not
162-
# we need substantial changes to this class to use asyncio.Runner
163-
# like IsolatedAsyncioTestCase does.
164-
setup_with_context_manager(self, warnings.catch_warnings())
165-
warnings.filterwarnings(
166-
"ignore",
167-
message="'asyncio.set_event_loop' is deprecated",
168-
category=DeprecationWarning,
169-
module="tornado.testing",
170-
)
171158
super().setUp()
172159
if type(self).get_new_ioloop is not AsyncTestCase.get_new_ioloop:
173160
warnings.warn("get_new_ioloop is deprecated", DeprecationWarning)

0 commit comments

Comments
 (0)