]> granicus.if.org Git - python/commitdiff
Issue #25306: Skip test_huntrleaks_fd_leak() of test_regrtest until the bug is
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 3 Oct 2015 19:20:41 +0000 (21:20 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 3 Oct 2015 19:20:41 +0000 (21:20 +0200)
fixed.

Lib/test/test_regrtest.py

index e0307a85b98e89f4e6b60885b7a548f2dc40381b..edbb4b0c788cdfd9def7f3010816f8c73ff326dd 100644 (file)
@@ -643,6 +643,8 @@ class ArgsTestCase(BaseTestCase):
         self.check_executed_tests(output, [test]*3, failed=test)
 
     @unittest.skipUnless(Py_DEBUG, 'need a debug build')
+    # Issue #25306: the test hangs sometimes on Windows
+    @unittest.skipIf(sys.platform == 'win32', 'test broken on Windows')
     def test_huntrleaks_fd_leak(self):
         # test --huntrleaks for file descriptor leak
         code = textwrap.dedent("""