Try to make sense of the test_site buildbot failures

This commit is contained in:
Antoine Pitrou 2009-02-22 17:25:52 +00:00
parent 2595edccbc
commit 13d1690ecd
1 changed files with 2 additions and 1 deletions

View 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',