summaryrefslogtreecommitdiffstats
path: root/test/CFILESUFFIX.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFILESUFFIX.py')
-rw-r--r--test/CFILESUFFIX.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CFILESUFFIX.py b/test/CFILESUFFIX.py
index a122fe0..9cbadf2 100644
--- a/test/CFILESUFFIX.py
+++ b/test/CFILESUFFIX.py
@@ -30,7 +30,7 @@ import string
import sys
import TestSCons
-python = TestSCons.python
+_python_ = TestSCons._python_
test = TestSCons.TestSCons()
@@ -46,10 +46,10 @@ sys.exit(0)
""")
test.write('SConstruct', """
-env = Environment(LEX = r'%s mylex.py', tools = ['lex'])
+env = Environment(LEX = r'%(_python_)s mylex.py', tools = ['lex'])
env.CFile(target = 'foo', source = 'foo.l')
env.Copy(CFILESUFFIX = '.xyz').CFile(target = 'bar', source = 'bar.l')
-""" % python)
+""" % locals())
input = r"""
int