From 8b0ef21c152365e82f0302b1942f1a6eed195331 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 9 Jul 2010 01:58:26 +0000 Subject: use assert method --- Lib/test/test_structseq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py index 387a89c..417b521 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) -- cgit v0.12