summaryrefslogtreecommitdiff
path: root/tests/pyscript/recursive.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-17 11:39:50 -0500
committerGitHub <noreply@github.com>2020-02-17 11:39:50 -0500
commit729e152c525bc30d36f130f8dc8442aeb00d1de8 (patch)
tree25f9041650716c5be91926da39af0b0ebaca853f /tests/pyscript/recursive.py
parent013b9e0a2c75e17f8aa0e0f7cbe50d84d2f657d8 (diff)
parent555db5d98fc122dc21d3bb239c079d68272cc0c3 (diff)
downloadcmd2-git-729e152c525bc30d36f130f8dc8442aeb00d1de8.tar.gz
Merge pull request #888 from python-cmd2/pyscript_fixes
pyscript fixes
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])))