summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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)