summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-07-28 07:02:10 (GMT)
committerGitHub <noreply@github.com>2017-07-28 07:02:10 (GMT)
commitc22bd58d933efaec26d1f77f263b2845473b7e15 (patch)
treeb8a01a0d2b9e5c1337d3f938b24c338df1001ec9 /Lib/test/test_site.py
parentb1660800f4f519dbfab9e5a4ad3eae1cfabab3ed (diff)
downloadcpython-c22bd58d933efaec26d1f77f263b2845473b7e15.zip
cpython-c22bd58d933efaec26d1f77f263b2845473b7e15.tar.gz
cpython-c22bd58d933efaec26d1f77f263b2845473b7e15.tar.bz2
bpo-28095: Re-enable temporarily disabled part of test_startup_imports on macOS (#2927)
The changes for bpo-29585 eliminate the extra imports on macOS that caused the original test failure. This reverts commit 8a2150aae6db4d664c96a038ef6abacd4bcbcdc9.
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r--Lib/test/test_site.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index bf7be4e..4975a77 100644
--- 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',