From: Ben Darnell Date: Thu, 21 Nov 2024 19:50:36 +0000 (-0500) Subject: ioloop_test: Skip a test that no longer works on py3.14 X-Git-Tag: v6.5.0b1~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afb23373a496de66cbc5ea069a7b74dcaea6c8cb;p=thirdparty%2Ftornado.git 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. --- diff --git a/tornado/test/ioloop_test.py b/tornado/test/ioloop_test.py index 047b3614..e5814325 100644 --- a/tornado/test/ioloop_test.py +++ b/tornado/test/ioloop_test.py @@ -782,6 +782,9 @@ class TestIOLoopConfiguration(unittest.TestCase): ) 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",