Skip to content

Commit

Permalink
process_test: Remove reference to deleted LayeredTwistedIOLoop
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed Jun 8, 2024
1 parent 12243ab commit 6d1f091
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tornado/test/process_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

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
Expand Down Expand Up @@ -141,15 +140,6 @@ def term_and_wait(self, subproc):

@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
Expand Down

0 comments on commit 6d1f091

Please sign in to comment.