Skip to content

Allow test cases to skip rerun #105310

Description

@sunmy2019

Currently, there are some tests with intentional leaks or some other tests that do not support rerun.

Adding this decorator will help to resolve this edge case.

inspired by #105122

Linked PRs

Activity

  1. Eclips4 commented on Jun 5, 2023

    @Eclips4
    Member

    Interesting. Can be #105273 resolved if we decorate test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer?

  2. erlend-aasland commented on Jun 19, 2023

    @erlend-aasland
    Contributor

    After thinking about this for some weeks, I'm -1 on the idea. I don't think we should make it easier to skip reruns. Unfortunately, adding machinery to test.support will exactly do that; hence my -1.

    I'm sorry to have urged you to open this issue in the first place. However, I changed my mind.

  3. added
    pendingThe issue will be closed if no feedback is provided
    on Jun 19, 2023
  4. sunmy2019 commented on Jun 20, 2023

    @sunmy2019
    MemberAuthor

    That's fine. I think we can leave this issue open and close the PR.

  5. erlend-aasland commented on Jun 20, 2023

    @erlend-aasland
    Contributor

    Let's not encourage making it easier to skip reruns; let's close the issue.

  6. removed
    pendingThe issue will be closed if no feedback is provided
    on Jun 20, 2023
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