summaryrefslogtreecommitdiff
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r--Lib/test/test_site.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index 5695cd734d..37ec61adbb 100644
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -185,13 +185,10 @@ class HelperFunctionsTests(unittest.TestCase):
sysconfig.get_config_var("PYTHONFRAMEWORK")):
site.PREFIXES = ['Python.framework']
dirs = site.getsitepackages()
- self.assertEqual(len(dirs), 4)
- wanted = os.path.join('~', 'Library', 'Python',
- sys.version[:3], 'site-packages')
- self.assertEquals(dirs[2], os.path.expanduser(wanted))
+ self.assertEqual(len(dirs), 3)
wanted = os.path.join('/Library', 'Python', sys.version[:3],
'site-packages')
- self.assertEquals(dirs[3], wanted)
+ self.assertEquals(dirs[2], wanted)
class PthFile(object):
"""Helper class for handling testing of .pth files"""