Commit 48006cf1 authored by Ezio Melotti's avatar Ezio Melotti

Fix test.

parent a463d259
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment