summaryrefslogtreecommitdiffstats
path: root/test/IDL/MIDLCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/IDL/MIDLCOM.py')
-rw-r--r--test/IDL/MIDLCOM.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/IDL/MIDLCOM.py b/test/IDL/MIDLCOM.py
index d3f6420..79857d0 100644
--- a/test/IDL/MIDLCOM.py
+++ b/test/IDL/MIDLCOM.py
@@ -30,7 +30,7 @@ Test the ability to configure the $MIDLCOM construction variable.
import TestSCons
-python = TestSCons.python
+_python_ = TestSCons._python_
test = TestSCons.TestSCons()
@@ -48,9 +48,9 @@ sys.exit(0)
test.write('SConstruct', """
env = Environment(tools=['default', 'midl'],
- MIDLCOM = r'%s mymidl.py $TARGET $SOURCES')
+ MIDLCOM = r'%(_python_)s mymidl.py $TARGET $SOURCES')
env.TypeLibrary(target = 'aaa', source = 'aaa.idl')
-""" % python)
+""" % locals())
test.write('aaa.idl', "aaa.idl\n/*midl*/\n")