From 6e20be3edc305f7a555ec15991a83c4f095393c5 Mon Sep 17 00:00:00 2001 From: "brett.cannon" Date: Tue, 24 Feb 2009 22:01:02 +0000 Subject: [PATCH] Expand upon test_site.test_s_option to try to debug its failure. git-svn-id: http://svn.python.org/projects/python/trunk@69946 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Lib/test/test_site.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 08d0c629d1..2dfddcd900 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -102,7 +102,8 @@ class HelperFunctionsTests(unittest.TestCase): rc = subprocess.call([sys.executable, '-c', 'import sys; sys.exit(%r in sys.path)' % usersite]) - self.assertEqual(rc, 1) + self.assertEqual(rc, 1, "%r is not in sys.path (sys.exit returned %r)" + % (usersite, rc)) rc = subprocess.call([sys.executable, '-s', '-c', 'import sys; sys.exit(%r in sys.path)' % usersite]) -- 2.11.4.GIT