Files
codebase-memory-mcp/tests
Martin Vogel 35598e66fd test(python): docstrings and __future__ imports keep the package namespace
A string-literal statement has no effect and from __future__ import x binds x, but the namespace facts recorded both as unknown statements: a triple-quoted string as an EFFECT, a future import as UNSUPPORTED. sqlalchemy's sql/expression.py lost its 149 re-exports to a docstring after nullsfirst = nulls_first. The extraction test pins every string form (module, class and attribute docstrings, single and triple quotes, r/b/rb/u prefixes, implicit concatenation, an f-string without a replacement field) and the future import forms (alias, parentheses); controls: an f-string with a field (also inside a concatenation), a call, and a star import from __future__ stay barriers. The pipeline fixture adds the expression.py shape end to end and an f-string control package.

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