diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-11 16:26:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 16:26:23 (GMT) |
commit | 311110abcd8ab648dbf1803e36a8ba5d93fa019b (patch) | |
tree | 728d5fbcba944115a19d567e8e869d7ffcffe787 /Doc/library/test.rst | |
parent | bcd7deed9118e365c1225de2a2e1a81bf988c6ab (diff) | |
download | cpython-311110abcd8ab648dbf1803e36a8ba5d93fa019b.zip cpython-311110abcd8ab648dbf1803e36a8ba5d93fa019b.tar.gz cpython-311110abcd8ab648dbf1803e36a8ba5d93fa019b.tar.bz2 |
bpo-40275: Move TransientResource to test_urllib2net (GH-20812)
Move TransientResource, time_out, socket_peer_reset and
ioerror_peer_reset from test.support to test_urllib2net.
Remove "import errno" from test.support.
Diffstat (limited to 'Doc/library/test.rst')
-rw-r--r-- | Doc/library/test.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 8432018..b39b601 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -922,15 +922,6 @@ The :mod:`test.support` module defines the following functions: The :mod:`test.support` module defines the following classes: -.. class:: TransientResource(exc, **kwargs) - - Instances are a context manager that raises :exc:`ResourceDenied` if the - specified exception type is raised. Any keyword arguments are treated as - attribute/value pairs to be compared against any exception raised within the - :keyword:`with` statement. Only if all pairs match properly against - attributes on the exception is :exc:`ResourceDenied` raised. - - .. class:: SuppressCrashReport() A context manager used to try to prevent crash dialog popups on tests that |