docs: drop tooling references from test docstrings

Three docstrings pointed at a contributor-guide file that is not part
of the repository. The rules they describe are stated directly now.
This commit is contained in:
Abdessamad Derraz committed 2026-08-12 03:44:25 +02:00
1 parent a0d34f04ad
commit 45ced32598
2 files changed
+7 -6

No files matched your search

+2 -1
View File
@@ -54,7 +54,8 @@ class ProtectedDirectories(_Bios):
"""RPG Maker and ScummVM reference files by exact name and path.
Collapsing two identical copies there breaks the reference that the
removed path served, which is why CLAUDE.md marks them NODEDUP.
removed path served, which is why those directories are excluded from
deduplication.
"""
def test_rpg_maker_copies_both_survive(self):
+5 -5
View File
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
"""The native-mode policy verify.py and generate_pack.py must share.
CLAUDE.md states the invariant as "verify.py and generate_pack.py must
produce identical results; any divergence is a critical bug". It used to rest
on both files spelling out `mode == "existence"` in their own words. Routing
both through scripts/nativemode.py makes the rule single-sourced, and these
tests make the agreement checkable instead of reviewable.
verify.py and generate_pack.py must reach the same verdict on the same file:
a pack and a coverage report that disagree describe different collections.
The rule used to rest on both files spelling out `mode == "existence"` in
their own words. Routing both through scripts/nativemode.py single-sources
it, and these tests make the agreement checkable instead of reviewable.
"""
from __future__ import annotations