Consider marking ``zip64`` tests in ``test_zipimport`` as cpu-heavy · Issue #120560 · python/cpython · GitHub
Skip to content

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

Description

@Eclips4

Feature or enhancement

Proposal:

Without testZip64 and testZip64CruftAndComment test_zipimport takes about ~300ms:

./python -m test -q test_zipimport
Using random seed: 4154114933
0:00:00 load avg: 0.02 Run 1 test sequentially in a single process

== Tests result: SUCCESS ==

Total duration: 270 ms
Total tests: run=81 skipped=6
Total test files: run=1/1
Result: SUCCESS

With them, about ~35 seconds:

./python -m test -q test_zipimport
Using random seed: 3529335933
0:00:00 load avg: 0.01 Run 1 test sequentially in a single process
test_zipimport passed in 35.0 sec

== Tests result: SUCCESS ==

Total duration: 35.0 sec
Total tests: run=81 skipped=2
Total test files: run=1/1
Result: 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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