summaryrefslogtreecommitdiff
path: root/tests/pyscript/recursive.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyscript/recursive.py')
-rw-r--r--tests/pyscript/recursive.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pyscript/recursive.py b/tests/pyscript/recursive.py
index 21550592..7f02bb78 100644
--- a/tests/pyscript/recursive.py
+++ b/tests/pyscript/recursive.py
@@ -5,6 +5,7 @@
Example demonstrating that calling run_pyscript recursively inside another Python script isn't allowed
"""
import os
+import sys
app.cmd_echo = True
my_dir = (os.path.dirname(os.path.realpath(sys.argv[0])))