From 58c239deb47252700327c4fa97e90e102e9fba13 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 23 Oct 2026 19:56:44 +0200 Subject: [PATCH] fix: keep the node cache test before main --- tests/test_audit_regressions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_audit_regressions.py b/tests/test_audit_regressions.py index 39097b78..28c95c2a 100644 --- a/tests/test_audit_regressions.py +++ b/tests/test_audit_regressions.py @@ -6724,10 +6724,6 @@ class NoArchiveRepeatsAMemberName(unittest.TestCase): self.assertEqual(repeated, []) -if __name__ == "__main__": - unittest.main() - - class PipelineChildrenSkipNodeCompileCache(unittest.TestCase): """The site build's compile cache filled the 4 GB /tmp tmpfs to 3.4 GB: every child the pipeline starts carries NODE_DISABLE_COMPILE_CACHE.""" @@ -6735,3 +6731,7 @@ class PipelineChildrenSkipNodeCompileCache(unittest.TestCase): def test_the_run_helper_sets_it(self): source = (ROOT / "scripts" / "pipeline.py").read_text(encoding="utf-8") self.assertIn('"NODE_DISABLE_COMPILE_CACHE": "1"', source) + + +if __name__ == "__main__": + unittest.main()