Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c15eee8f
Commit
c15eee8f
authored
Feb 08, 2014
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include the mention of ResourceWarning being displayed by default by the test runner.
Addressing #issue 20529
parent
6034b3e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
Doc/library/unittest.rst
Doc/library/unittest.rst
+8
-7
No files found.
Doc/library/unittest.rst
View file @
c15eee8f
...
...
@@ -1754,13 +1754,14 @@ Loading and running tests
applications which run test suites should provide alternate implementations.
By default this runner shows :exc:`DeprecationWarning`,
:exc:`PendingDeprecationWarning`, 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:`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``.
.. versionchanged:: 3.2
Added the ``warnings`` argument.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment