FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's deprecation by hugovk · Pull Request #104995 · python/cpython · GitHub

/ cpython Public

gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's deprecation - #104995

Merged
hugovk merged 2 commits into
python:mainfrom
hugovk:docs-unittest.TestProgram.usageExit-whatsnew312-deprecations
May 28, 2023
Merged

gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's deprecation#104995
hugovk merged 2 commits into
python:mainfrom
hugovk:docs-unittest.TestProgram.usageExit-whatsnew312-deprecations

Conversation

hugovk commented May 26, 2023
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

The unittest.TestProgram.usageExit method was deprecated in Python 3.11 and scheduled for removal in 3.13.

The deprecation was documented in the changelog but not in What's New.

For visibility, let's add it to "What's New in 3.12" > "Pending Removal in Python 3.13":

(Extracted from #93986.)


📚 Documentation preview 📚: https://cpython-previews--104995.org.readthedocs.build/

hugovk commented May 27, 2023

Copy link
Copy Markdown
Member Author

Caught by my own CI check :) Now fixed!

hugovk merged commit 3821b92 into python:main May 28, 2023
hugovk deleted the docs-unittest.TestProgram.usageExit-whatsnew312-deprecations branch May 28, 2023 08:06

Copy link
Copy Markdown
Contributor

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2023
…sageExit's deprecation (pythonGH-104995)

(cherry picked from commit 3821b92)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

Copy link
Copy Markdown

GH-105036 is a backport of this pull request to the 3.12 branch.

bedevere-bot removed the needs backport to 3.12 only security fixes label May 28, 2023
hugovk added a commit that referenced this pull request May 28, 2023
…usageExit's deprecation (GH-104995) (#105036)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL