]> granicus.if.org Git - python/commitdiff
Fix test.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 30 Apr 2011 21:03:49 +0000 (00:03 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 30 Apr 2011 21:03:49 +0000 (00:03 +0300)
Lib/test/test_sys.py

index 61b2676c4492b7e84b51598da8fd84304dd3ea6d..04bdfefc8b2e8a259be9628d47117cbe7b1774b0 100644 (file)
@@ -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))