mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
Remove test (ZipInfo.is_dir()
is Python 3.6+ only)
This commit is contained in:
parent
c004e70b6e
commit
f7228f7952
@ -412,7 +412,6 @@ class TestDefaultZipWriter(object):
|
||||
zipfile_info = default_zw.z.getinfo(os.path.basename(tmp_file_path))
|
||||
assert zipfile_info.compress_type == zipfile.ZIP_DEFLATED
|
||||
assert zipfile_info.file_size == tmp_file_size
|
||||
assert zipfile_info.is_dir() is False
|
||||
|
||||
os.remove(tmp_file_path)
|
||||
assert os.path.exists(tmp_file_path) is False
|
||||
|
Loading…
Reference in New Issue
Block a user