]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-25130: Make unit-test about restricting the maximum number of nested blocks...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 28 Aug 2021 19:24:39 +0000 (22:24 +0300)
committerGitHub <noreply@github.com>
Sat, 28 Aug 2021 19:24:39 +0000 (22:24 +0300)
commit1046cd06b0e2f20b3be93de83d49b684956af98d
tree5222c7ce908d3c02e8d7b0d2ab26236db6c210ae
parent166ad706066a2aad84d0ae5b1594c88904fbb939
[3.9] bpo-25130: Make unit-test about restricting the maximum number of nested blocks cpython-only (GH-28002) (GH-28017)

PyPy and potentially other implementations have different or no
contraints on the number of blocks that can be statically nested. move
the test that checks for this behaviour into a unit test and mark it as
CPython-only..
(cherry picked from commit eb263f9a356f5c5f21b8d5ce20bac92f31c40cad)

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
Lib/test/test_syntax.py