From: Ezio Melotti Date: Sat, 30 Apr 2011 21:03:49 +0000 (+0300) Subject: Fix test. X-Git-Tag: v3.3.0a1~2449 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48006cf1a8b8d1cadb422619c3b51bb17b4e9405;p=thirdparty%2FPython%2Fcpython.git Fix test. --- diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 61b2676c4492..04bdfefc8b2e 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -478,7 +478,7 @@ class SysModuleTest(unittest.TestCase): '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))