[Python-checkins] bpo-34021: Windows skips test_regrtest.test_env_changed() (GH-10804)
Victor Stinner
webhook-mailer at python.org
Thu Nov 29 17:38:38 EST 2018
https://github.com/python/cpython/commit/f681e93e46925e862a8b0fa4b6e9e341fd8de3c2
commit: f681e93e46925e862a8b0fa4b6e9e341fd8de3c2
branch: 2.7
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2018年11月29日T23:38:35+01:00
summary:
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.
files:
M Lib/test/test_regrtest.py
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 593df7ac8ff9..015adc3fa06c 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -672,6 +672,9 @@ def test_main():
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
More information about the Python-checkins
mailing list