From: Benjamin Peterson Date: Thu, 8 Jul 2010 22:16:05 +0000 (+0000) Subject: assert tuple inheritance X-Git-Tag: v3.2a1~266 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c567c540ddabce2536b0f5907ff94408e8e4410;p=thirdparty%2FPython%2Fcpython.git assert tuple inheritance --- diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py index 6e57e22f77c1..f01bc44b05f3 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)