diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/test.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index e4f779b..eb4f04f 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -928,8 +928,16 @@ The :mod:`test.support` module defines the following functions: .. versionadded:: 3.10 +.. function:: check_disallow_instantiation(test_case, tp, *args, **kwds) + + Assert that type *tp* cannot be instantiated using *args* and *kwds*. + + .. versionadded:: 3.11 + + The :mod:`test.support` module defines the following classes: + .. class:: SuppressCrashReport() A context manager used to try to prevent crash dialog popups on tests that |