]> granicus.if.org Git - python/commit
bpo-28494: Test existing zipfile working behavior. (GH-15853)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Sep 2019 22:57:54 +0000 (15:57 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2019 22:57:54 +0000 (15:57 -0700)
commit74b0291b03db60dd244d31e9c97407cccb8d30dd
treeff59b20a4fb9c999238a6ca6faed10e480684796
parent98224d24d1d69383ccc6336e87e362f986c99169
bpo-28494: Test existing zipfile working behavior. (GH-15853)

Add unittests for executables with a zipfile appended to test_zipfile, as zipfile.is_zipfile and zipfile.ZipFile work properly on these today.
(cherry picked from commit 3f4db4a0bab073b768fae958e93288bd5d24eadd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/test_zipfile.py
Lib/test/ziptestdata/README.md [new file with mode: 0644]
Lib/test/ziptestdata/exe_with_z64 [new file with mode: 0755]
Lib/test/ziptestdata/exe_with_zip [new file with mode: 0755]
Lib/test/ziptestdata/header.sh [new file with mode: 0755]
Lib/test/ziptestdata/testdata_module_inside_zip.py [new file with mode: 0644]