mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Preserve existing coverage while following verified final behavior for script metadata, builtin signatures and loading, AST fixture construction, memoryview diagnostics, mmap search bounds, and struct format errors. The unchanged final comparator exposes the earlier expectations; focused native baseline failures establish the required implementation changes. Assisted-by: OpenAI Codex:model identifier unavailable
6 lines
156 B
Python
6 lines
156 B
Python
import sys
|
|
|
|
main_module = sys.modules["__main__"]
|
|
assert main_module.__file__.endswith("builtin___main__.py")
|
|
assert not hasattr(main_module, "__cached__")
|