Kaydet (Commit) f403f503 authored tarafından Christian Heimes's avatar Christian Heimes

Issue #19205: _osx_support uses the re module all over the place. Omit the test for nw.

üst 4aa8f8e2
......@@ -438,7 +438,9 @@ class StartupImportTests(unittest.TestCase):
# http://bugs.python.org/issue19205
re_mods = {'re', '_sre', 'sre_compile', 'sre_constants', 'sre_parse'}
self.assertFalse(modules.intersection(re_mods), stderr)
# _osx_support uses the re module in many placs
if sys.platform != 'darwin':
self.assertFalse(modules.intersection(re_mods), stderr)
# http://bugs.python.org/issue9548
self.assertNotIn('locale', modules, stderr)
# http://bugs.python.org/issue19209
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment