summaryrefslogtreecommitdiffstats
path: root/Doc/library/test.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-04-25 08:35:18 (GMT)
committerGitHub <noreply@github.com>2020-04-25 08:35:18 (GMT)
commit515fce4fc4bb0d2db97b17df275cf90640017f56 (patch)
tree472b80622f4f7e7a8307c3f4db4122eef549dbd9 /Doc/library/test.rst
parent16994912c93e8e5db7365d48b75d67d3f70dd7b2 (diff)
downloadcpython-515fce4fc4bb0d2db97b17df275cf90640017f56.zip
cpython-515fce4fc4bb0d2db97b17df275cf90640017f56.tar.gz
cpython-515fce4fc4bb0d2db97b17df275cf90640017f56.tar.bz2
bpo-40275: Avoid importing logging in test.support (GH-19601)
Import logging lazily in assertLogs() in unittest. Move TestHandler from test.support to logging_helper.
Diffstat (limited to 'Doc/library/test.rst')
-rw-r--r--Doc/library/test.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst
index 1e6b111..c2aaecc 100644
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -1410,11 +1410,6 @@ The :mod:`test.support` module defines the following classes:
Run *test* and return the result.
-.. class:: TestHandler(logging.handlers.BufferingHandler)
-
- Class for logging support.
-
-
.. class:: FakePath(path)
Simple :term:`path-like object`. It implements the :meth:`__fspath__`