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:
Guido van Rossum 2007-07-12 08:11:23 +00:00
parent 652f446d42
commit a5d0c260ac
1 changed files with 1 additions and 1 deletions

View File

@ -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])