diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-07-09 01:58:26 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-07-09 01:58:26 (GMT) |
commit | 8b0ef21c152365e82f0302b1942f1a6eed195331 (patch) | |
tree | bb5cda9b9d80976fa27ad897359a1f903d12bbf8 | |
parent | d02441ea2fcf3862c92bf990ac568d8cb1e19d48 (diff) | |
download | cpython-8b0ef21c152365e82f0302b1942f1a6eed195331.zip cpython-8b0ef21c152365e82f0302b1942f1a6eed195331.tar.gz cpython-8b0ef21c152365e82f0302b1942f1a6eed195331.tar.bz2 |
use assert method
-rw-r--r-- | Lib/test/test_structseq.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |