mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue