From 45ced32598b32078c98d667a50a97758a89d2ef6 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Wed, 12 Aug 2026 03:44:25 +0200 Subject: [PATCH] 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. --- tests/test_dedup.py | 3 ++- tests/test_native_mode.py | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/test_dedup.py b/tests/test_dedup.py index cf630934..efc2c246 100644 --- a/tests/test_dedup.py +++ b/tests/test_dedup.py @@ -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): diff --git a/tests/test_native_mode.py b/tests/test_native_mode.py index ca7df99f..d43ba170 100644 --- a/tests/test_native_mode.py +++ b/tests/test_native_mode.py @@ -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