pep8/pyflakes

This commit is contained in:
Martin A. Brown 2016-03-01 22:47:15 -08:00
parent 6e11db3957
commit 78e67c0e6c
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class TestToolsFilesystem(unittest.TestCase):
if os.path.isfile(filename): if os.path.isfile(filename):
shutil.copy(filename, newname) shutil.copy(filename, newname)
else: else:
with open(newname, 'w') as f: with open(newname, 'w'):
pass pass
relname = os.path.relpath(newname, self.tempdir) relname = os.path.relpath(newname, self.tempdir)
return relname, newname return relname, newname