From afb23373a496de66cbc5ea069a7b74dcaea6c8cb Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Thu, 21 Nov 2024 14:50:36 -0500 Subject: [PATCH] ioloop_test: Skip a test that no longer works on py3.14 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. --- tornado/test/ioloop_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tornado/test/ioloop_test.py b/tornado/test/ioloop_test.py index 047b3614eb..e5814325c1 100644 --- a/tornado/test/ioloop_test.py +++ b/tornado/test/ioloop_test.py @@ -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",