From: Antoine Pitrou Date: Sun, 22 Feb 2009 17:25:52 +0000 (+0000) Subject: Try to make sense of the test_site buildbot failures X-Git-Tag: v2.7a1~1968 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13d1690ecdb4f7c7c54c7d961158d5ea8a1d3ecf;p=python Try to make sense of the test_site buildbot failures --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 08d0c629d1..1261e588db 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -99,9 +99,10 @@ class HelperFunctionsTests(unittest.TestCase): def test_s_option(self): usersite = site.USER_SITE self.assert_(usersite in sys.path) + print usersite, sys.path rc = subprocess.call([sys.executable, '-c', - 'import sys; sys.exit(%r in sys.path)' % usersite]) + 'import sys; print sys.path; sys.exit(%r in sys.path)' % usersite]) self.assertEqual(rc, 1) rc = subprocess.call([sys.executable, '-s', '-c',