projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b166080
)
bpo-28095: Re-enable temporarily disabled part of test_startup_imports on macOS ...
author
Ned Deily
<nad@python.org>
Fri, 28 Jul 2017 07:02:10 +0000
(
03:02
-0400)
committer
GitHub
<noreply@github.com>
Fri, 28 Jul 2017 07:02:10 +0000
(
03:02
-0400)
The changes for bpo-29585 eliminate the extra imports on macOS that caused
the original test failure.
This reverts commit
8a2150aae6db4d664c96a038ef6abacd4bcbcdc9
.
Lib/test/test_site.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_site.py
b/Lib/test/test_site.py
index bf7be4ec1c6a207bfafaf32af3b28de03a36a7d1..4975a77022049f33deb4081d670afeda4aaa2885 100644
(file)
--- a/
Lib/test/test_site.py
+++ b/
Lib/test/test_site.py
@@
-492,9
+492,7
@@
class StartupImportTests(unittest.TestCase):
'heapq', 'itertools', 'keyword', 'operator',
'reprlib', 'types', 'weakref'
}.difference(sys.builtin_module_names)
- # http://bugs.python.org/issue28095
- if sys.platform != 'darwin':
- self.assertFalse(modules.intersection(collection_mods), stderr)
+ self.assertFalse(modules.intersection(collection_mods), stderr)
def test_startup_interactivehook(self):
r = subprocess.Popen([sys.executable, '-c',