From f681e93e46925e862a8b0fa4b6e9e341fd8de3c2 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 29 Nov 2018 23:38:35 +0100 Subject: bpo-34021: Windows skips test_regrtest.test_env_changed() (GH-10804) 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index 593df7a..015adc3 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -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 -- cgit v0.12