• Serhiy Storchaka's avatar
    Issue #18223: Refactor test_tarfile. · 8b562920
    Serhiy Storchaka yazdı
    * Use mixins for generating tests for different compression types.
    * Make test_tarfile discoverable.
    * Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue.
    * Add explicit test skips instead of reporting skipped tests as passed.
    * Wrap long lines.
    * Correct a comment for test_hardlink_extraction1.
    * Add support.requires_gzip.
    
    and some other minor enhancements.
    8b562920
test_tarfile.py 65 KB