bpo-25130: Make unit-test about restricting the maximum number of nested blocks cpython-only by cfbolz · Pull Request #28002 · python/cpython (original) (raw)
PyPy and potentially other implementations have different or no
constraints on the number of blocks that can be statically nested. move
the doctest that checks for this behaviour into a unit test and mark it as
CPython-only.
In PyPy, the doctest happily looped forever, because there is no syntax error raised 😞