mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
fix(test): mark the catalog test's own tempdir read as uncached
The header test writes a .po file into its tempdir and reads it back. The shared cache is keyed by path, so a cached read answers with the content from before the write. The marker sits on the call's own line because the lint accepts it nowhere else, and the shorter comment survives the formatter that had detached it once already. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6d7ef1b936
commit
bfdf3dee79
1 file changed
+1
-1
@@ -80,7 +80,7 @@ class TestTranslations(unittest.TestCase):
|
||||
path = Path(tmp) / "core.po"
|
||||
path.write_text(old_header, encoding="utf-8")
|
||||
write_catalog(path, read_catalog(path))
|
||||
text = path.read_text(encoding="utf-8")
|
||||
text = path.read_text() # nocheck: cache-read written by this test
|
||||
|
||||
for expected in (
|
||||
"Kevin Veen-Birkenbach <kevinveenbirkenbach@infinito.nexus>",
|
||||
|
||||
Reference in new issue
Block a user