Commit 561f899d authored by Tim Peters's avatar Tim Peters

Use the keyword form of file() instead of open() to create TESTFN.

parent 808b94eb
......@@ -1671,7 +1671,7 @@ def inherits():
self.ateof = 1
return s
f = open(TESTFN, 'w')
f = file(name=TESTFN, mode='w')
lines = ['a\n', 'b\n', 'c\n']
try:
f.writelines(lines)
......
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