test(stdlib): cover every bundled module through std imports
This commit is contained in:
1 parent
a8ccac9e67
commit
04eae8746e
13 files changed
+246
-5
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user