]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34021: Windows skips test_regrtest.test_env_changed() (GH-10804)
authorVictor Stinner <vstinner@redhat.com>
Thu, 29 Nov 2018 22:38:35 +0000 (23:38 +0100)
committerGitHub <noreply@github.com>
Thu, 29 Nov 2018 22:38:35 +0000 (23:38 +0100)
On Windows, test_env_changed() of test_regrtest is now skipped
because it fails  randomly for an unknown reason on "x86 Windows XP
VS9.0 2.7" buildbot worker.

Lib/test/test_regrtest.py

index 593df7ac8ff9f926fa542241d85de790a9e50371..015adc3fa06c1739140a8bc1a6a08f2acbad22f3 100644 (file)
@@ -672,6 +672,9 @@ class ArgsTestCase(BaseTestCase):
         subset = ['test_method1', 'test_method3']
         self.assertEqual(methods, subset)
 
+    # bpo-34021: The test fails randomly for an unknown reason
+    # on "x86 Windows XP VS9.0 2.7" buildbot worker.
+    @unittest.skipIf(sys.platform == "win32", "test fails randomly on Windows")
     def test_env_changed(self):
         code = textwrap.dedent("""
             import unittest