Skip to content
Browse files

documentation, better unit test

  • Loading branch information...
sdpython committed Sep 23, 2016
1 parent 99c25c0 commit f049715e91704f5ea0b215a7e0901dd8dbd4e67a
@@ -81,6 +81,11 @@ def test_uncompress_7zip(self):
OutputPrint=__name__ == "__main__")

import pylzma
if pylzma.__version__ == "0.4.8":
# this version does not include a fix to read file produced by the latest version of 7z

fold = get_temp_folder(__file__, "temp_uncompress_7zip")
data = os.path.join(fold, "..", "data", "ftplib.7z")
files = un7zip_files(data, where_to=fold, fLOG=fLOG)
@@ -222,6 +222,8 @@ def zip7_files(filename_7z, file_set, fLOG=noLOG, temp_folder="."):
failed to decompress the file produced by the latest version
of `7z <>`_ (2016-09-23). The compression
was changed by tweaking the command line. LZMA is used instead LZMA2.
The current version does not include this
`commit <>`_.
if sys.platform.startswith("win"):
exe = r"C:\Program Files\7-Zip\7z.exe"
@@ -330,6 +330,9 @@ def default_filter_warning(w):
elif "sympy" in w.filename:
if "inspect.getargspec() is deprecated" in str(w.message):
return False
elif "" in w.filename:
if "will be forbidden in the future" in str(w.message):
return False
elif isinstance(w.message, ImportWarning):
if w.filename.endswith(""):
return False

0 comments on commit f049715

Please sign in to comment.
You can’t perform that action at this time.