]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 May 2023 02:43:04 +0000 (19:43 -0700)
committerGitHub <noreply@github.com>
Sat, 27 May 2023 02:43:04 +0000 (19:43 -0700)
gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994)

Document unittest.TestProgram.usageExit's pending removal in 3.13
(cherry picked from commit 7df861c23cd61e7c55943d4036ea5c6b1df5cb49)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/whatsnew/3.11.rst

index 95fd8b6c97279567fdbf2c83e2f6e18db68ce0d4..4e944484da86e0cd0c435344190f7fc247c58fda 100644 (file)
@@ -1858,6 +1858,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: