]> granicus.if.org Git - python/commitdiff
Try to make sense of the test_site buildbot failures
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 22 Feb 2009 17:25:52 +0000 (17:25 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 22 Feb 2009 17:25:52 +0000 (17:25 +0000)
Lib/test/test_site.py

index 08d0c629d1404cf16dff61096e1b47e80b30a140..1261e588dbdca546dd091d9e46becdfdd4834ea7 100644 (file)
@@ -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',