mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
do not line break reference
This commit is contained in:
parent
3137885c36
commit
0b094ce170
1 changed files with 7 additions and 7 deletions
|
|
@ -1755,13 +1755,13 @@ Loading and running tests
|
|||
|
||||
By default this runner shows :exc:`DeprecationWarning`,
|
||||
:exc:`PendingDeprecationWarning`, :exc:`ResourceWarning` and
|
||||
:exc:`ImportWarning` even if they are :ref:`ignored by default <warning-
|
||||
ignored>`. Deprecation warnings caused by :ref:`deprecated unittest methods
|
||||
<deprecated-aliases>` are also special-cased and, when the warning filters
|
||||
are ``'default'`` or ``'always'``, they will appear only once per-module, in
|
||||
order to avoid too many warning messages. This behavior can be overridden
|
||||
using the :option:`-Wd` or :option:`-Wa` options and leaving *warnings* to
|
||||
``None``.
|
||||
:exc:`ImportWarning` even if they are :ref:`ignored by default
|
||||
<warning-ignored>`. Deprecation warnings caused by :ref:`deprecated unittest
|
||||
methods <deprecated-aliases>` are also special-cased and, when the warning
|
||||
filters are ``'default'`` or ``'always'``, they will appear only once
|
||||
per-module, in order to avoid too many warning messages. This behavior can
|
||||
be overridden using the :option:`-Wd` or :option:`-Wa` options and leaving
|
||||
*warnings* to ``None``.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
Added the ``warnings`` argument.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue