Skip to content

Commit f681e93

Browse files
authored
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.
1 parent 3600300 commit f681e93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_regrtest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,9 @@ def test_main():
672672
subset = ['test_method1', 'test_method3']
673673
self.assertEqual(methods, subset)
674674

675+
# bpo-34021: The test fails randomly for an unknown reason
676+
# on "x86 Windows XP VS9.0 2.7" buildbot worker.
677+
@unittest.skipIf(sys.platform == "win32", "test fails randomly on Windows")
675678
def test_env_changed(self):
676679
code = textwrap.dedent("""
677680
import unittest

0 commit comments

Comments
 (0)