From 08761e250f92fb601bd437ce82c96b6a602544c4 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 17 Oct 2026 01:55:49 +0200 Subject: [PATCH] chore: fail when the readme loses its contributors --- tests/test_audit_regressions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_audit_regressions.py b/tests/test_audit_regressions.py index 1e97802c..2a6e43dc 100644 --- a/tests/test_audit_regressions.py +++ b/tests/test_audit_regressions.py @@ -2153,8 +2153,8 @@ class ContributorsSurviveAFailedRequest(unittest.TestCase): def test_the_committed_readme_still_carries_its_contributors(self): """Regenerating offline must never be the reason this disappears.""" text = (ROOT / "README.md").read_text() - if "## Contributors" not in text: - self.skipTest("README carries no contributors section") + # Missing is the failure this guards, never a reason to skip. + self.assertIn("## Contributors", text) self.assertGreater( text.count('