Skip to content

Commit

Permalink
ioloop_test: Skip a test that no longer works on py3.14
Browse files Browse the repository at this point in the history
This test uses implicit event loop creation but
avoided deprecation warnings because it ran in a
subprocess. Surprisingly, it is the only test we
have left for this pattern.
  • Loading branch information
bdarnell committed Nov 21, 2024
1 parent e22eaef commit afb2337
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tornado/test/ioloop_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,9 @@ def test_asyncio(self):
)
self.assertEqual(cls, "AsyncIOMainLoop")

@unittest.skipIf(
sys.version_info >= (3, 14), "implicit event loop creation not available"
)
def test_asyncio_main(self):
cls = self.run_python(
"from tornado.platform.asyncio import AsyncIOMainLoop",
Expand Down

0 comments on commit afb2337

Please sign in to comment.