summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2022-10-04 22:31:16 (GMT)
committerGitHub <noreply@github.com>2022-10-04 22:31:16 (GMT)
commitbbc7cd649a6ef56eb09278f3e746ca89b9d592c9 (patch)
tree9b27714a75a9d5e550e68405af984b7c61c3176e /Makefile.pre.in
parent7acb93f0d44c6fb971fdb09b86f68896e3b1e2f8 (diff)
downloadcpython-bbc7cd649a6ef56eb09278f3e746ca89b9d592c9.zip
cpython-bbc7cd649a6ef56eb09278f3e746ca89b9d592c9.tar.gz
cpython-bbc7cd649a6ef56eb09278f3e746ca89b9d592c9.tar.bz2
gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022)
Relevant tests moved from test_exceptions to test_traceback to be able to compare both implementations. Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 0157830..1111835 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -958,6 +958,11 @@ regen-test-frozenmain: $(BUILDPYTHON)
# using Programs/freeze_test_frozenmain.py
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Programs/freeze_test_frozenmain.py Programs/test_frozenmain.h
+.PHONY: regen-test-levenshtein
+regen-test-levenshtein:
+ # Regenerate Lib/test/levenshtein_examples.json
+ $(PYTHON_FOR_REGEN) $(srcdir)/Tools/scripts/generate_levenshtein_examples.py Lib/test/levenshtein_examples.json
+
.PHONY: regen-re
regen-re: $(BUILDPYTHON)
# Regenerate Lib/re/_casefix.py
@@ -1223,7 +1228,7 @@ regen-limited-abi: all
regen-all: regen-opcode regen-opcode-targets regen-typeslots \
regen-token regen-ast regen-keyword regen-sre regen-frozen clinic \
regen-pegen-metaparser regen-pegen regen-test-frozenmain \
- regen-global-objects
+ regen-test-levenshtein regen-global-objects
@echo
@echo "Note: make regen-stdlib-module-names and make regen-configure should be run manually"