We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a1e06 commit c4d92c8Copy full SHA for c4d92c8
Lib/test/test_site.py
@@ -526,15 +526,15 @@ def test_startup_imports(self):
526
527
# http://bugs.python.org/issue19205
528
re_mods = {'re', '_sre', 'sre_compile', 'sre_constants', 'sre_parse'}
529
- # _osx_support uses the re module in many placs
530
- if sys.platform != 'darwin':
531
- self.assertFalse(modules.intersection(re_mods), stderr)
+ self.assertFalse(modules.intersection(re_mods), stderr)
+
532
# http://bugs.python.org/issue9548
533
self.assertNotIn('locale', modules, stderr)
534
535
- # http://bugs.python.org/issue19209
536
- self.assertNotIn('copyreg', modules, stderr)
537
- # http://bugs.python.org/issue19218>
+ # http://bugs.python.org/issue19209
+ self.assertNotIn('copyreg', modules, stderr)
+ # http://bugs.python.org/issue19218
538
collection_mods = {'_collections', 'collections', 'functools',
539
'heapq', 'itertools', 'keyword', 'operator',
540
'reprlib', 'types', 'weakref'
0 commit comments