Kaydet (Commit) bd289dae authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix name

üst 6722ac2f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment