]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
ioloop_test: Skip a test that no longer works on py3.14 3445/head
authorBen Darnell <ben@bendarnell.com>
Thu, 21 Nov 2024 19:50:36 +0000 (14:50 -0500)
committerBen Darnell <ben@bendarnell.com>
Thu, 21 Nov 2024 19:50:36 +0000 (14:50 -0500)
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

index 047b3614eb3073aed8d4f19cf3ce47ca847c4a7a..e5814325c1e99fb653d2d16bae63c9b94cf1b51d 100644 (file)
@@ -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",