diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-04-30 21:03:49 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-04-30 21:03:49 (GMT) |
commit | 48006cf1a8b8d1cadb422619c3b51bb17b4e9405 (patch) | |
tree | 764be191d09ae5e98028e52865d10f9d252bf808 /Lib/test/test_sys.py | |
parent | a463d259304616e3e4051cdace0d7c5d5cc6075f (diff) | |
download | cpython-48006cf1a8b8d1cadb422619c3b51bb17b4e9405.zip cpython-48006cf1a8b8d1cadb422619c3b51bb17b4e9405.tar.gz cpython-48006cf1a8b8d1cadb422619c3b51bb17b4e9405.tar.bz2 |
Fix test.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | 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 index 61b2676..04bdfef 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)) |