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

Raymond Hettinger python at rcn.com
Wed Feb 25 00:10:15 CET 2009


I wonder if the failures are due to the subprocess changes made around Feb 14th.
Are some of the machines running out of file descriptors?


----- Original Message ----- 
From: "brett.cannon" <python-checkins at python.org>
To: <python-checkins at python.org>
Sent: Tuesday, February 24, 2009 2:01 PM
Subject: [Python-checkins] r69946 - python/trunk/Lib/test/test_site.py


> Author: brett.cannon
> Date: Tue Feb 24 23:01:02 2009
> New Revision: 69946
> 
> Log:
> Expand upon test_site.test_s_option to try to debug its failure.
> 
> 
> 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 Tue Feb 24 23:01:02 2009
> @@ -102,7 +102,8 @@
> 
>         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])
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins


More information about the Python-checkins mailing list