introspection

This commit is contained in:
2026-01-20 20:24:22 +05:30
parent c910da9d14
commit 102ea4e215
26 changed files with 525 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from docforge import GriffeLoader
def test_import_failure_does_not_crash():
loader = GriffeLoader()
project = loader.load_project(
["nonexistent.module", "sys"]
)
# sys should still load
assert "sys" in project.modules