[Python-checkins] r69870 - python/trunk/Lib/test/test_site.py

antoine.pitrou python-checkins at python.org
Sun Feb 22 18:25:53 CET 2009


Author: antoine.pitrou
Date: Sun Feb 22 18:25:52 2009
New Revision: 69870
Log:
Try to make sense of the test_site buildbot failures
Modified:
 python/trunk/Lib/test/test_site.py
Modified: python/trunk/Lib/test/test_site.py
==============================================================================
--- python/trunk/Lib/test/test_site.py	(original)
+++ python/trunk/Lib/test/test_site.py	Sun Feb 22 18:25:52 2009
@@ -99,9 +99,10 @@
 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',


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /