summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_structseq.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-08 22:16:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-07-08 22:16:05 (GMT)
commit8c567c540ddabce2536b0f5907ff94408e8e4410 (patch)
tree8eccf0492182066f15902dc94be57b3714703442 /Lib/test/test_structseq.py
parent808e1ada9445ed2eefe117f53906b63767cc20cb (diff)
downloadcpython-8c567c540ddabce2536b0f5907ff94408e8e4410.zip
cpython-8c567c540ddabce2536b0f5907ff94408e8e4410.tar.gz
cpython-8c567c540ddabce2536b0f5907ff94408e8e4410.tar.bz2
assert tuple inheritance
Diffstat (limited to 'Lib/test/test_structseq.py')
-rw-r--r--Lib/test/test_structseq.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py
index 6e57e22..f01bc44 100644
--- a/Lib/test/test_structseq.py
+++ b/Lib/test/test_structseq.py
@@ -7,6 +7,7 @@ class StructSeqTest(unittest.TestCase):
def test_tuple(self):
t = time.gmtime()
+ assert isinstance(t, tuple)
astuple = tuple(t)
self.assertEqual(len(t), len(astuple))
self.assertEqual(t, astuple)