fix: keep the node cache test before main

This commit is contained in:
Abdessamad Derraz committed 2026-10-23 19:56:44 +02:00
1 parent a8fef3fbbd
commit 58c239deb4
1 file changed
+4 -4
+4 -4
View File
@@ -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()