]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Skip another subprocess test that is flaky on twisted
authorBen Darnell <ben@bendarnell.com>
Sun, 22 May 2016 04:09:58 +0000 (00:09 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 22 May 2016 04:09:58 +0000 (00:09 -0400)
tornado/test/process_test.py

index 58cc410b68ab90542e9e0fa813649afb5c706d02..d5fff1706a7143bee26ad6781ffc046f65d919ae 100644 (file)
@@ -179,6 +179,9 @@ class SubprocessTest(AsyncTestCase):
         self.assertEqual(data, b"\n")
 
     def test_stderr(self):
+        # This test is mysteriously flaky on twisted: it succeeds, but logs
+        # an error of EBADF on closing a file descriptor.
+        skip_if_twisted()
         subproc = Subprocess([sys.executable, '-u', '-c',
                               r"import sys; sys.stderr.write('hello\n')"],
                              stderr=Subprocess.STREAM,