]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45400: Fix suggestion test of test_exceptions (GH-28783)
authorVictor Stinner <vstinner@python.org>
Thu, 7 Oct 2021 11:47:23 +0000 (13:47 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Oct 2021 11:47:23 +0000 (13:47 +0200)
commit4e605666b08b8f863cbbbdaa34bb06988e648d26
treef6b2f1369c1d634b3bf9cc8b59ec7ffc9edd91e0
parent3f2c433da560d7999a52f9fcba4bbd0898848520
bpo-45400: Fix suggestion test of test_exceptions (GH-28783)

Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals()
of test_exceptions if a directory name contains "a1" (like
"Python-3.11.0a1"): use a stricter regular expression.
Lib/test/test_exceptions.py
Misc/NEWS.d/next/Tests/2021-10-07-13-11-45.bpo-45400.h3iT7V.rst [new file with mode: 0644]