Fix for tet_bigmem.py (the failure was caused by a spurious reference
to 'file', which no longer exists). Fix inspired by Christian Heimes, SF# 1752195.
This commit is contained in:
parent
652f446d42
commit
a5d0c260ac
|
@ -850,7 +850,7 @@ class ListTest(unittest.TestCase):
|
||||||
self.assertEquals(l.count("1"), 0)
|
self.assertEquals(l.count("1"), 0)
|
||||||
|
|
||||||
def basic_test_extend(self, size):
|
def basic_test_extend(self, size):
|
||||||
l = [file] * size
|
l = [object] * size
|
||||||
l.extend(l)
|
l.extend(l)
|
||||||
self.assertEquals(len(l), size * 2)
|
self.assertEquals(len(l), size * 2)
|
||||||
self.failUnless(l[0] is l[-1])
|
self.failUnless(l[0] is l[-1])
|
||||||
|
|
Loading…
Reference in New Issue