summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bigmem.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-12 08:11:23 (GMT)
committerGuido van Rossum <guido@python.org>2007-07-12 08:11:23 (GMT)
commita5d0c260ace921f1a504c0592312d5aefb24b510 (patch)
treecad256edcd67d9cebcee1afa2a86891486326456 /Lib/test/test_bigmem.py
parent652f446d4212bbfcd5a50c5250ab280f3d969db5 (diff)
downloadcpython-a5d0c260ace921f1a504c0592312d5aefb24b510.zip
cpython-a5d0c260ace921f1a504c0592312d5aefb24b510.tar.gz
cpython-a5d0c260ace921f1a504c0592312d5aefb24b510.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_bigmem.py')
-rw-r--r--Lib/test/test_bigmem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bigmem.py b/Lib/test/test_bigmem.py
index 40508be..a6a7c24 100644
--- a/Lib/test/test_bigmem.py
+++ b/Lib/test/test_bigmem.py
@@ -850,7 +850,7 @@ class ListTest(unittest.TestCase):
self.assertEquals(l.count("1"), 0)
def basic_test_extend(self, size):
- l = [file] * size
+ l = [object] * size
l.extend(l)
self.assertEquals(len(l), size * 2)
self.failUnless(l[0] is l[-1])