From 7455ae29aaa835041f236435e0594f55beae594b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 23 Aug 2026 20:18:29 -1000 Subject: Renumber the test scripts into themed ranges The numbering walks outward from the ground the suite stands on. - t000x for the git version, html validity and the cache - t01xx for page content, one script per page - t02xx for filters, submodule links, dates and limits, which cut across pages - t03xx for defence, the security regressions and the $HOME promise - t04xx for the helper tools under tools/ --- tests/serve-split-check.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/serve-split-check.py') diff --git a/tests/serve-split-check.py b/tests/serve-split-check.py index 63c8f97..3a74803 100644 --- a/tests/serve-split-check.py +++ b/tests/serve-split-check.py @@ -11,6 +11,10 @@ repository root as the only argument. import importlib.util import sys +# Loading serve.py would otherwise leave a __pycache__ directory behind in +# tools/, compiled bytecode the repository has no use for. +sys.dont_write_bytecode = True + def load_serve(root): path = root + "/tools/serve.py" -- cgit 2.12.1