GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow test cases to skip rerun · Issue #105310 · python/cpython

Allow test cases to skip rerun #105310

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Allow test cases to skip rerun#105310
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement

Description

@sunmy2019
sunmy2019
opened on Jun 5, 2023
Issue body actions

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

  • gh-105310: add decorator to skip rerunning tests #105311

Activity

  1. sunmy2019
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Jun 5, 2023
  2. AlexWaygood
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Jun 5, 2023
  3. Eclips4 commented on Jun 5, 2023

    @Eclips4
    Eclips4
    on Jun 5, 2023
    Member
    More actions

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

  4. erlend-aasland commented on Jun 19, 2023

    @erlend-aasland
    erlend-aasland
    on Jun 19, 2023
    Contributor
    More actions

    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.

  5. erlend-aasland
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Jun 19, 2023
  6. sunmy2019 commented on Jun 20, 2023

    @sunmy2019
    sunmy2019
    on Jun 20, 2023
    MemberAuthor
    More actions

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

  7. erlend-aasland commented on Jun 20, 2023

    @erlend-aasland
    erlend-aasland
    on Jun 20, 2023
    Contributor
    More actions

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

  8. erlend-aasland
    closed this as not plannedon Jun 20, 2023
  9. erlend-aasland
    removed
    pendingThe issue will be closed if no feedback is providedThe 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 dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.