]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
process_test: Remove reference to deleted LayeredTwistedIOLoop 3394/head
authorBen Darnell <ben@bendarnell.com>
Sat, 8 Jun 2024 01:25:29 +0000 (21:25 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 8 Jun 2024 01:29:52 +0000 (21:29 -0400)
tornado/test/process_test.py

index 1e5b391b63272bb32963765293f451ac3fca61bc..1f55f4d935cd200d4bd6c296428aa7ebb6912449 100644 (file)
@@ -9,7 +9,6 @@ import unittest
 
 from tornado.httpclient import HTTPClient, HTTPError
 from tornado.httpserver import HTTPServer
-from tornado.ioloop import IOLoop
 from tornado.log import gen_log
 from tornado.process import fork_processes, task_id, Subprocess
 from tornado.simple_httpclient import SimpleAsyncHTTPClient
@@ -141,15 +140,6 @@ class SubprocessTest(AsyncTestCase):
 
     @gen_test
     def test_subprocess(self):
-        if IOLoop.configured_class().__name__.endswith("LayeredTwistedIOLoop"):
-            # This test fails non-deterministically with LayeredTwistedIOLoop.
-            # (the read_until('\n') returns '\n' instead of 'hello\n')
-            # This probably indicates a problem with either TornadoReactor
-            # or TwistedIOLoop, but I haven't been able to track it down
-            # and for now this is just causing spurious travis-ci failures.
-            raise unittest.SkipTest(
-                "Subprocess tests not compatible with " "LayeredTwistedIOLoop"
-            )
         # In Python 3.13.0b1, the new repl logs an error on exit if terminfo
         # doesn't exist, the -i flag is used, and stdin is not a tty. This bug may
         # have been fixed in beta 2, so for now we disable the new repl in this test