Commit afedfedb authored by Jason R. Coombs's avatar Jason R. Coombs

Open zip file in context

parent 8aee4241
......@@ -54,8 +54,5 @@ class TestUploadDocsTest:
assert zipfile.is_zipfile(tmp_file)
zip_file = zipfile.ZipFile(tmp_file)
with zipfile.ZipFile(tmp_file) as zip_file:
assert zip_file.namelist() == ['index.html']
zip_file.close()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment