mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Removed test_sitepackages test. Skip discovered that it only passed if Python
had already been installed previously.
This commit is contained in:
parent
7f35404b7b
commit
6ccc9a99df
1 changed files with 0 additions and 8 deletions
|
@ -141,14 +141,6 @@ class ImportSideEffectTests(unittest.TestCase):
|
|||
# XXX: implement
|
||||
pass
|
||||
|
||||
def test_sitepackages(self):
|
||||
# There should be a path that ends in site-packages
|
||||
for path in sys.path:
|
||||
if path.endswith("site-packages"):
|
||||
break
|
||||
else:
|
||||
self.fail("'site-packages' directory missing'")
|
||||
|
||||
def test_setting_quit(self):
|
||||
# 'quit' and 'exit' should be injected into __builtin__
|
||||
self.failUnless(hasattr(__builtin__, "quit"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue