[Python-checkins] gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (#104994)

JelleZijlstra webhook-mailer at python.org
Fri May 26 22:09:54 EDT 2023


https://github.com/python/cpython/commit/7df861c23cd61e7c55943d4036ea5c6b1df5cb49
commit: 7df861c23cd61e7c55943d4036ea5c6b1df5cb49
branch: main
author: Hugo van Kemenade <hugovk at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2023-05-26T19:09:47-07:00
summary:

gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (#104994)

Document unittest.TestProgram.usageExit's pending removal in 3.13

files:
M Doc/whatsnew/3.11.rst

diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 066070eda7db..a734233cff7d 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -1856,6 +1856,10 @@ Standard Library
 
   (Contributed by Erlend E. Aasland in :issue:`5846`.)
 
+* :meth:`~!unittest.TestProgram.usageExit` is marked deprecated, to be removed
+  in 3.13.
+  (Contributed by Carlos Damázio in :gh:`67048`.)
+
 
 .. _whatsnew311-pending-removal:
 .. _whatsnew311-python-api-pending-removal:



More information about the Python-checkins mailing list