summaryrefslogtreecommitdiff
path: root/tests/test_verify.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-10-24 21:53:22 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-24 21:53:22 +0200
commit2403a366676a9fa83f320b8607dfec852e6eb77b (patch)
treec4db62a59d9b0d221a04cd20885f123854453cb8 /tests/test_verify.py
parent86a9b7d394496c9088537a3d917093be3aa413ea (diff)
downloadgemato-2403a366676a9fa83f320b8607dfec852e6eb77b.tar.gz
test_verify: Remove unused variable
Diffstat (limited to 'tests/test_verify.py')
-rw-r--r--tests/test_verify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py
index 4a9cb67..ccb3330 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -455,7 +455,7 @@ class UnreadableFileVerificationTest(unittest.TestCase):
def setUp(self):
self.dir = tempfile.mkdtemp()
self.path = os.path.join(self.dir, 'test')
- with open(self.path, 'w') as f:
+ with open(self.path, 'w'):
pass
os.chmod(self.path, 0)