From: Benjamin Peterson Date: Fri, 9 Jul 2010 01:58:26 +0000 (+0000) Subject: use assert method X-Git-Tag: v3.2a1~264 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b0ef21c152365e82f0302b1942f1a6eed195331;p=thirdparty%2FPython%2Fcpython.git use assert method --- diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py index 387a89c6ff76..417b52147f6b 100644 --- a/Lib/test/test_structseq.py +++ b/Lib/test/test_structseq.py @@ -8,7 +8,7 @@ class StructSeqTest(unittest.TestCase): 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)