diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-05-27 10:55:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 10:55:38 (GMT) |
commit | 8cec740820fc875117bfa7b6bdb10202ebeb8fd5 (patch) | |
tree | f6f0cec358cee5e0fe2559f3503dd08432af11e2 /Lib/test | |
parent | dcb8786a9848516e823e090bb36079678913d8d3 (diff) | |
download | cpython-8cec740820fc875117bfa7b6bdb10202ebeb8fd5.zip cpython-8cec740820fc875117bfa7b6bdb10202ebeb8fd5.tar.gz cpython-8cec740820fc875117bfa7b6bdb10202ebeb8fd5.tar.bz2 |
bpo-43988: Document test.support.check_disallow_instantiation() (GH-26394)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/support/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 42ca614..34a9459 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -1987,9 +1987,9 @@ def skip_if_broken_multiprocessing_synchronize(): def check_disallow_instantiation(testcase, tp, *args, **kwds): """ - Helper for testing types with the Py_TPFLAGS_DISALLOW_INSTANTIATION flag. + Check that given type cannot be instantiated using *args and **kwds. - See bpo-43916. + See bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag. """ mod = tp.__module__ name = tp.__name__ |