changeset: 86224:9f6ef09f6492 user: Christian Heimes date: Sat Oct 12 15:08:42 2013 +0200 files: Lib/test/test_site.py description: Issue #19205: _osx_support uses the re module all over the place. Omit the test for nw. diff -r 1a980088c269 -r 9f6ef09f6492 Lib/test/test_site.py --- a/Lib/test/test_site.py Sat Oct 12 15:00:44 2013 +0200 +++ b/Lib/test/test_site.py Sat Oct 12 15:08:42 2013 +0200 @@ -438,7 +438,9 @@ # 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