test(stdlib): cover every bundled module through std imports

This commit is contained in:
Marqdo Agent committed 2026-11-21 01:50:01 +08:00
1 parent a8ccac9e67
commit 04eae8746e
13 files changed
+246 -5

No files matched your search

+3 -1
View File
@@ -20,7 +20,9 @@ DIST = ROOT / "dist"
def tree_digest() -> str:
digest = hashlib.sha256()
for path in sorted(STDLIB.rglob("*.mq.md")):
for path in sorted(
STDLIB.rglob("*.mq.md"), key=lambda p: p.relative_to(STDLIB).as_posix()
):
relative = path.relative_to(STDLIB).as_posix()
digest.update(relative.encode())
digest.update(b"\0")