]> granicus.if.org Git - python/commitdiff
fix name
authorBenjamin Peterson <benjamin@python.org>
Fri, 21 May 2010 21:17:22 +0000 (21:17 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 21 May 2010 21:17:22 +0000 (21:17 +0000)
Lib/test/test_linecache.py

index 6b6eb15f75f219b510b53070e019abb9a162687b..2dd3672dad785a3e9d2ae1753c61d770afaf889e 100644 (file)
@@ -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)