summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-04-30 21:03:49 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-04-30 21:03:49 (GMT)
commit48006cf1a8b8d1cadb422619c3b51bb17b4e9405 (patch)
tree764be191d09ae5e98028e52865d10f9d252bf808 /Lib/test/test_sys.py
parenta463d259304616e3e4051cdace0d7c5d5cc6075f (diff)
downloadcpython-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.py2
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))