From: Benjamin Peterson Date: Fri, 21 May 2010 21:17:22 +0000 (+0000) Subject: fix name X-Git-Tag: v2.7rc1~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd289dae35d331b5461ba6a93ad92e85ff306e0b;p=thirdparty%2FPython%2Fcpython.git fix name --- diff --git a/Lib/test/test_linecache.py b/Lib/test/test_linecache.py index 6b6eb15f75f2..2dd3672dad78 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)