http://hg.python.org/cpython/rev/f3b4a4e06908 changeset: 69724:f3b4a4e06908 user: Ezio Melotti <ezio.melotti@gmail.com> date: Sun May 01 00:03:49 2011 +0300 summary: Fix test. files: Lib/test/test_sys.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -478,7 +478,7 @@ 'Threading required for this test.') def test_thread_info(self): info = sys.thread_info - self.assertTrue(len(info), 3) + self.assertEqual(len(info), 3) self.assertIn(info.name, ('nt', 'os2', 'pthread', 'solaris', None)) self.assertIn(info.lock, ('semaphore', 'mutex+cond', None)) -- Repository URL: http://hg.python.org/cpython
participants (1)
-
ezio.melotti