summaryrefslogtreecommitdiffstats
path: root/test/ESCAPE.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ESCAPE.py')
-rw-r--r--test/ESCAPE.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ESCAPE.py b/test/ESCAPE.py
index bee55bc..08f4a1a 100644
--- a/test/ESCAPE.py
+++ b/test/ESCAPE.py
@@ -30,7 +30,7 @@ Test the ESCAPE construction variable.
import TestSCons
-python = TestSCons.python
+_python_ = TestSCons._python_
test = TestSCons.TestSCons()
@@ -52,7 +52,7 @@ def my_escape(s):
s = string.replace(s, 'file.in', 'file.xxx')
return orig_escape(s)
env = Environment(ESCAPE = my_escape)
-env.Command('file.out', 'file.in', "%(python)s cat.py $TARGET $SOURCES")
+env.Command('file.out', 'file.in', '%(_python_)s cat.py $TARGET $SOURCES')
""" % locals())
test.write('file.in', "file.in\n")