summaryrefslogtreecommitdiff
path: root/Lib/test/test_inspect.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2017-10-05 12:11:18 -0400
committerGitHub <noreply@github.com>2017-10-05 12:11:18 -0400
commit36c1d1f1e52ba54007cbecb42c5599e5ff62aa52 (patch)
tree317c296450800bfb25851dd92a62050e26c4c4fd /Lib/test/test_inspect.py
parent4d071897880b7e84e1a217ebe19971c118316970 (diff)
downloadcpython-git-36c1d1f1e52ba54007cbecb42c5599e5ff62aa52.tar.gz
PEP 553 built-in breakpoint() function (bpo-31353) (#3355)
Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r--Lib/test/test_inspect.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index 7cc1e78f78..819fcc5853 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -3523,7 +3523,8 @@ class TestSignatureDefinitions(unittest.TestCase):
needs_semantic_update = {"round"}
no_signature |= needs_semantic_update
# These need *args support in Argument Clinic
- needs_varargs = {"min", "max", "print", "__build_class__"}
+ needs_varargs = {"breakpoint", "min", "max", "print",
+ "__build_class__"}
no_signature |= needs_varargs
# These simply weren't covered in the initial AC conversion
# for builtin callables