[Python-checkins] r82723 - python/branches/py3k/Lib/test/test_structseq.py

benjamin.peterson python-checkins at python.org
Fri Jul 9 03:58:26 CEST 2010


Author: benjamin.peterson
Date: Fri Jul  9 03:58:26 2010
New Revision: 82723

Log:
use assert method

Modified:
   python/branches/py3k/Lib/test/test_structseq.py

Modified: python/branches/py3k/Lib/test/test_structseq.py
==============================================================================
--- python/branches/py3k/Lib/test/test_structseq.py	(original)
+++ python/branches/py3k/Lib/test/test_structseq.py	Fri Jul  9 03:58:26 2010
@@ -8,7 +8,7 @@
 
     def test_tuple(self):
         t = time.gmtime()
-        assert isinstance(t, tuple)
+        self.assertIsInstance(t, tuple)
         astuple = tuple(t)
         self.assertEqual(len(t), len(astuple))
         self.assertEqual(t, astuple)


More information about the Python-checkins mailing list