mirror of https://github.com/python/cpython
Issue #19205: _osx_support uses the re module all over the place. Omit the test for nw.
This commit is contained in:
parent
4aa8f8e225
commit
f403f50378
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue