diff options
context:
space:
mode:
Diffstat (limited to 'tests/serve-split-check.py')
-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"