mirror of https://github.com/tLDP/python-tldp
pep8/pyflakes
This commit is contained in:
parent
6e11db3957
commit
78e67c0e6c
|
@ -66,7 +66,7 @@ class TestToolsFilesystem(unittest.TestCase):
|
|||
if os.path.isfile(filename):
|
||||
shutil.copy(filename, newname)
|
||||
else:
|
||||
with open(newname, 'w') as f:
|
||||
with open(newname, 'w'):
|
||||
pass
|
||||
relname = os.path.relpath(newname, self.tempdir)
|
||||
return relname, newname
|
||||
|
|
Loading…
Reference in New Issue