YJ Chen added the comment: Works for 3.4 and 3.5 but could not successfully run test on 2.7.
Error: ====================================================================== FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/test/test_site.py", line 247, in test_getsitepackages self.assertEqual(len(dirs), 4) AssertionError: 2 != 4 ====================================================================== FAIL: test_getuserbase (test.test_site.HelperFunctionsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/test/test_site.py", line 210, in test_getuserbase site.getuserbase()) AssertionError: /Users/yjchen/Library/Python/2.7 ====================================================================== FAIL: test_s_option (test.test_site.HelperFunctionsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/test/test_site.py", line 193, in test_s_option self.assertEqual(rc, 1) AssertionError: 0 != 1 ---------------------------------------------------------------------- ---------- nosy: +yjchen _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7283> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com