commit | 8b0ef21c152365e82f0302b1942f1a6eed195331 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri Jul 09 01:58:26 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Fri Jul 09 01:58:26 2010 +0000 |
tree | bb5cda9b9d80976fa27ad897359a1f903d12bbf8 | |
parent | d02441ea2fcf3862c92bf990ac568d8cb1e19d48 [diff] |
use assert method
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 @@ 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)