Commit 13d1690e authored by Antoine Pitrou's avatar Antoine Pitrou

Try to make sense of the test_site buildbot failures

parent 2595edcc
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment