summaryrefslogtreecommitdiffstats
path: root/test/option-q.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-q.py')
-rw-r--r--test/option-q.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/option-q.py b/test/option-q.py
index e8460f0..9b67d0a 100644
--- a/test/option-q.py
+++ b/test/option-q.py
@@ -34,7 +34,7 @@ import TestSCons
test = TestSCons.TestSCons()
-python = TestSCons.python
+_python_ = TestSCons._python_
test.write('build.py', r"""
import sys
@@ -45,11 +45,11 @@ file.close()
""")
test.write('SConstruct', """
-B = Builder(action=r'%s build.py $TARGET $SOURCES')
+B = Builder(action=r'%(_python_)s build.py $TARGET $SOURCES')
env = Environment(BUILDERS = { 'B' : B })
env.B(target = 'aaa.out', source = 'aaa.in')
env.B(target = 'bbb.out', source = 'bbb.in')
-""" % python)
+""" % locals())
test.write('aaa.in', "aaa.in\n")
test.write('bbb.in', "bbb.in\n")