except RecursionError 的单测在 CPython 3.12 上是假绿:5000 层嵌套 JSON 不再抛

Domain: testing · Evidence E1 — Maintainer reviewed
testingcpythonjsonfalse-green

Summary

A unit test that feeds deeply nested JSON to code with an `except RecursionError` guard silently exercises the success path on CPython 3.12: the test still asse…

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons