summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-02-22 17:25:52 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-02-22 17:25:52 (GMT)
commit13d1690ecdb4f7c7c54c7d961158d5ea8a1d3ecf (patch)
tree98a687a21bab80dc469787ca5bb24feefcb11c05 /Lib/test/test_site.py
parent2595edccbc1587c3c20dd83ea9eb152e78eeb8ae (diff)
downloadcpython-13d1690ecdb4f7c7c54c7d961158d5ea8a1d3ecf.zip
cpython-13d1690ecdb4f7c7c54c7d961158d5ea8a1d3ecf.tar.gz
cpython-13d1690ecdb4f7c7c54c7d961158d5ea8a1d3ecf.tar.bz2
Try to make sense of the test_site buildbot failures
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r--Lib/test/test_site.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index 08d0c62..1261e58 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',