commit | 348e218d5b85dc1f497e43a8822ecc8ab73df65e | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Feb 12 11:36:14 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Feb 12 02:56:32 2020 +0000 |
tree | 4240d60129eb2a618e9a131fa1782be3052dc40a | |
parent | 4bbba7d627d9d801f9e3ab50a864a0d2b70bb3e7 [diff] |
test_project.py: Remove unused variable in 'with' statement flake8 reports: F841 local variable 'f' is assigned to but never used Change-Id: If808eb381ee44c7da71e6281615a06a6723cf945 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254593 Tested-by: David Pursehouse <dpursehouse@collab.net> Reviewed-by: Mike Frysinger <vapier@google.com>
diff --git a/tests/test_project.py b/tests/test_project.py index bde38c4..b416386 100644 --- a/tests/test_project.py +++ b/tests/test_project.py
@@ -163,7 +163,7 @@ @staticmethod def touch(path): - with open(path, 'w') as f: + with open(path, 'w'): pass def assertExists(self, path, msg=None):