diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-03-02 17:25:27 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-03-02 17:25:27 (GMT) |
commit | 056e2654911b404538d1169f34a576b26bde2ca0 (patch) | |
tree | f142584aec1a705687b9d9873231d78f0ce0c4af /Lib/test/test_inspect.py | |
parent | 6c6596ec52256f3b98475f83f4a7e476094b55f9 (diff) | |
download | cpython-056e2654911b404538d1169f34a576b26bde2ca0.zip cpython-056e2654911b404538d1169f34a576b26bde2ca0.tar.gz cpython-056e2654911b404538d1169f34a576b26bde2ca0.tar.bz2 |
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r-- | Lib/test/test_inspect.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 0dc7451..5c6ae39 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -1764,6 +1764,11 @@ class TestSignatureObject(unittest.TestCase): __call__ = type test_callable(ThisWorksNow()) + # Regression test for issue #20786 + test_unbound_method(dict.__delitem__) + test_unbound_method(property.__delete__) + + @cpython_only @unittest.skipIf(MISSING_C_DOCSTRINGS, "Signature information for builtins requires docstrings") |