projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d02441e
)
use assert method
author
Benjamin Peterson
<benjamin@python.org>
Fri, 9 Jul 2010 01:58:26 +0000
(
01:58
+0000)
committer
Benjamin Peterson
<benjamin@python.org>
Fri, 9 Jul 2010 01:58:26 +0000
(
01:58
+0000)
Lib/test/test_structseq.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_structseq.py
b/Lib/test/test_structseq.py
index 387a89c6ff76f3341db9b20df0ab074cc3341c29..417b52147f6b9ab313c7b6bd8a49a91b60debe89 100644
(file)
--- 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 isi
nstance(t, tuple)
+
self.assertIsI
nstance(t, tuple)
astuple = tuple(t)
self.assertEqual(len(t), len(astuple))
self.assertEqual(t, astuple)