summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-21 21:17:22 +0000
committerBenjamin Peterson <benjamin@python.org>2010-05-21 21:17:22 +0000
commitbd289dae35d331b5461ba6a93ad92e85ff306e0b (patch)
tree29e37e2b331795aeaca13588f4b5e9e69988a11e /Lib/test
parent6722ac2f00a51a33624e547e591fc2c81907acb1 (diff)
downloadcpython-git-bd289dae35d331b5461ba6a93ad92e85ff306e0b.tar.gz
fix name
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_linecache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_linecache.py b/Lib/test/test_linecache.py
index 6b6eb15f75..2dd3672dad 100644
--- a/Lib/test/test_linecache.py
+++ b/Lib/test/test_linecache.py
@@ -83,7 +83,7 @@ class LineCacheTests(unittest.TestCase):
getline = linecache.getline
# Create a source file and cache its contents
source_name = support.TESTFN + '.py'
- self.addCleanup(test_support.unlink, source_name)
+ self.addCleanup(support.unlink, source_name)
with open(source_name, 'w') as source:
source.write(SOURCE_1)
getline(source_name, 1)