← 返回首页
bpo-22859: deprecating unittest.TestProgram.usageExit by carlosdmz · Pull Request #30293 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

bpo-22859: deprecating unittest.TestProgram.usageExit#30293

Merged
JelleZijlstra merged 7 commits into
python:mainfrom
carlosdmz:issue22859
Mar 17, 2022
Merged

bpo-22859: deprecating unittest.TestProgram.usageExit#30293
JelleZijlstra merged 7 commits into
python:mainfrom
carlosdmz:issue22859

Conversation

carlosdmz commented Dec 29, 2021
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

JelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

As mentioned on the PR, I would suggest making it raise DeprecationWarning first.

Copy link
Copy Markdown
Contributor Author

@JelleZijlstra Done, usageExit is marked as being deprecated and will be removed in 3.13.

Comment thread Misc/NEWS.d/next/Library/2021-12-29-19-37-49.bpo-22859.AixHW7.rst Outdated Show resolved Hide resolved
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

Copy link
Copy Markdown
Contributor Author

Thank you @kumaraditya303 for fixing the news entry.

Comment thread Lib/unittest/main.py Outdated Show resolved Hide resolved
carlosdmz requested a review from JelleZijlstra March 16, 2022 18:03
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Footer

© 2026 GitHub, Inc.