From 13d1690ecdb4f7c7c54c7d961158d5ea8a1d3ecf Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 22 Feb 2009 17:25:52 +0000 Subject: [PATCH] Try to make sense of the test_site buildbot failures --- Lib/test/test_site.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', -- 2.50.1