Uh oh!
There was an error while loading. Please reload this page.
gh-108303: Move zip and tar archives to Lib/test/archivetestdata - #111549
Conversation
vstinner
left a comment
There was a problem hiding this comment.
It's surprising that "ziptestdata" is used by test_tarfile and contains TAR archives. Maybe rename the directory to "archivetestdata"?
zip and tar archives to Lib/test/ziptestdatazip and tar archives to Lib/test/archivetestdata
vstinner
left a comment
There was a problem hiding this comment.
Lib/test/archivetestdata/README.md says "Test data for test_zipfile". Maybe mention somewhere that now it's also used by test_tarfile, and also test_contextlib?
Also, the README file says "Purpose: These are used to test executable files with an appended zipfile". Is it still the case?
vstinner
commented
Oct 31, 2023
If some test files are specific to "test executable files with an appended zipfile", maybe they should live in a separated directory? I'm not sure if it's worth it. Maybe just list files related to these specific tests? |
vstinner
left a comment
There was a problem hiding this comment.
Can you please try to fix the merge conflict?
sobolevn
commented
Nov 4, 2023
Done! |
vstinner
commented
Nov 4, 2023
Merged, thanks. I don't know how feasible it is to backport the change to 3.11 and 3.12? @sobolevn: try maybe to add the backport labels? |
All archives now live in the same place.