Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ccc9a9

Browse files
committed
Removed test_sitepackages test. Skip discovered that it only passed if Python
had already been installed previously.
1 parent 7f35404 commit 6ccc9a9

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Lib/test/test_site.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,6 @@ def test_add_build_dir(self):
141141
# XXX: implement
142142
pass
143143

144-
def test_sitepackages(self):
145-
# There should be a path that ends in site-packages
146-
for path in sys.path:
147-
if path.endswith("site-packages"):
148-
break
149-
else:
150-
self.fail("'site-packages' directory missing'")
151-
152144
def test_setting_quit(self):
153145
# 'quit' and 'exit' should be injected into __builtin__
154146
self.failUnless(hasattr(__builtin__, "quit"))

0 commit comments

Comments
 (0)