Dingyuan Wang added the comment:

$ mkdir foo; touch foo/a.txt; python3 -c "import shutil; 
shutil.make_archive('foo', 'zip', base_dir='foo')"; unzip -t foo.zip
Archive:  foo.zip
    testing: foo/                    
  error:  invalid compressed data to inflate
    testing: foo/a.txt                OK
At least one error was detected in foo.zip.

(This affects 2.7, 3.4+)

versions: +Python 2.7, Python 3.4

Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to