Skip to content

Consider marking zip64 tests in test_zipimport as cpu-heavy #120560

@Eclips4

Description

@Eclips4

Feature or enhancement

Proposal:

Without testZip64 and testZip64CruftAndComment test_zipimport takes about ~300ms:

./python-mtest-qtest_zipimportUsingrandomseed: 41541149330:00:00loadavg: 0.02Run1testsequentiallyinasingleprocess==Testsresult: SUCCESS==Totalduration: 270msTotaltests: run=81skipped=6Totaltestfiles: run=1/1Result: SUCCESS

With them, about ~35 seconds:

./python-mtest-qtest_zipimportUsingrandomseed: 35293359330:00:00loadavg: 0.01Run1testsequentiallyinasingleprocesstest_zipimportpassedin35.0sec==Testsresult: SUCCESS==Totalduration: 35.0secTotaltests: run=81skipped=2Totaltestfiles: run=1/1Result: SUCCESS

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions