diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Renumber the test scripts into themed ranges
t000x the ground the suite stands on: git version, html validity, the cache t01xx page content, one script per page t02xx features that cut across pages: filters, submodule links, dates, limits t03xx defence, the security regressions and the $HOME promise t04xx the helper tools under tools/
Diffstat (limited to '')
-rw-r--r--tests/serve-split-check.py4
1 file changed, 4 insertions, 0 deletions
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"