Files
codebase-memory-mcp/tests
Martin Vogel fe2fbad2c4 test(python): TYPE_CHECKING shapes of a package namespace
A lazy-module package publishes its names only under `if TYPE_CHECKING:`
(the else branch installs the lazy module): `lz.Lazy()` resolves to the
re-exported class. The compat shape imports a name under TYPE_CHECKING and
again in `else: try:`: the runtime binding comes from the else branch, so
`cmp.Shim()` must not reach the TYPE_CHECKING-side class.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-10-19 00:55:19 +02:00
..
2026-10-11 16:57:48 +02:00