mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Temporarily revert 59967 until GC can be added.
This commit is contained in:
parent
f233b0c454
commit
cbf8f6cffb
4 changed files with 1 additions and 12 deletions
|
@ -26,12 +26,6 @@ class StructSeqTest(unittest.TestCase):
|
|||
for i in xrange(-len(t), len(t)-1):
|
||||
self.assertEqual(t[i], astuple[i])
|
||||
|
||||
def test_tuple_subclass(self):
|
||||
# Issue 1820
|
||||
t = time.localtime()
|
||||
s = ('%s ' * len(t)) % t # This used to fail because t was not a tuple subclass
|
||||
self.assert_(isinstance(t, tuple))
|
||||
|
||||
def test_repr(self):
|
||||
t = time.gmtime()
|
||||
self.assert_(repr(t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue