]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test_ast uses infinite_recursion() to prevent crash (#100104)
authorVictor Stinner <vstinner@python.org>
Thu, 8 Dec 2022 08:26:38 +0000 (09:26 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2022 08:26:38 +0000 (09:26 +0100)
commitcd67c1bb30eccd0c6fd1386405df225aed4c91a9
treebe84b8fab273b1b424d0df6fe7c1d3e0b30e24ee
parente8fff515f056737d6d055ea5438b2135863548b1
test_ast uses infinite_recursion() to prevent crash (#100104)

test.test_ast_recursion_limit() now uses infinite_recursion() of
test.support to prevent crashes on debug builds.

Before this change, the test crashed on ARM64 Windows 3.x buildbot
worker which builds Python in debug mode.
Lib/test/test_ast.py