mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-41322: Add unit tests for deprecation of test return values (GH-27846)
Also fix the traceback of warnings.
This commit is contained in:
parent
6dd1cdb0cf
commit
b1db308c61
6 changed files with 50 additions and 2 deletions
|
@ -151,6 +151,10 @@ The above examples show the most commonly used :mod:`unittest` features which
|
|||
are sufficient to meet many everyday testing needs. The remainder of the
|
||||
documentation explores the full feature set from first principles.
|
||||
|
||||
.. versionchanged:: 3.11
|
||||
The behavior of returning a value from a test method (other than the default
|
||||
``None`` value), is now deprecated.
|
||||
|
||||
|
||||
.. _unittest-command-line-interface:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue