From: Ben Darnell Date: Sat, 8 Jun 2024 01:25:29 +0000 (-0400) Subject: process_test: Remove reference to deleted LayeredTwistedIOLoop X-Git-Tag: v6.5.0b1~57^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d1f091d8b2a3ffba5786ad93cf8c73af4122924;p=thirdparty%2Ftornado.git process_test: Remove reference to deleted LayeredTwistedIOLoop --- diff --git a/tornado/test/process_test.py b/tornado/test/process_test.py index 1e5b391b..1f55f4d9 100644 --- a/tornado/test/process_test.py +++ b/tornado/test/process_test.py @@ -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