Commit bd289dae authored by Benjamin Peterson's avatar Benjamin Peterson

fix name

parent 6722ac2f
...@@ -83,7 +83,7 @@ class LineCacheTests(unittest.TestCase): ...@@ -83,7 +83,7 @@ class LineCacheTests(unittest.TestCase):
getline = linecache.getline getline = linecache.getline
# Create a source file and cache its contents # Create a source file and cache its contents
source_name = support.TESTFN + '.py' 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: with open(source_name, 'w') as source:
source.write(SOURCE_1) source.write(SOURCE_1)
getline(source_name, 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