Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle breaking api change in Python 3.12.1 #371

Merged
merged 1 commit into from
Jan 16, 2024

Commits on Jan 5, 2024

  1. Handle breaking api change in Python 3.12.1

    In Python 3.12.1 python/cpython#106588 was backported which changed the
    execution behavior of the unittest runner. After python/cpython#106588
    startTest() is no longer being called if a test is skipped. This causes
    knock-on effects in testtools because the test result subclasses were
    assuming that startTest() was always called when stopTest() was called.
    To handle this change in behavior when running with Python 3.12.1 this
    commit adds a check to only deal with tags if they exist (when
    startTest() is run).
    mtreinish committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    e95d993 View commit details
    Browse the repository at this point in the history