]> granicus.if.org Git - python/commitdiff
Include the mention of ResourceWarning being displayed by default by the test runner.
authorSenthil Kumaran <senthil@uthcode.com>
Sat, 8 Feb 2014 22:28:03 +0000 (14:28 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sat, 8 Feb 2014 22:28:03 +0000 (14:28 -0800)
Addressing #issue 20529

Doc/library/unittest.rst

index fcfd514d01501cbcd0926a93bc16610ca685e024..fa4b46897a2be4dc6cd9d4aeee1ff9c4369751db 100644 (file)
@@ -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.