summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py
index 0726619bd0..878e2bef35 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -705,6 +705,10 @@ def Execute(args, context, timeout=None, env=None, disable_core_files=False, std
if "NODE_PATH" in env_copy:
del env_copy["NODE_PATH"]
+ # Remove NODE_REPL_EXTERNAL_MODULE
+ if "NODE_REPL_EXTERNAL_MODULE" in env_copy:
+ del env_copy["NODE_REPL_EXTERNAL_MODULE"]
+
# Extend environment
for key, value in env.items():
env_copy[key] = value