summaryrefslogtreecommitdiff
path: root/test/CC/SHCCCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CC/SHCCCOM.py')
-rw-r--r--test/CC/SHCCCOM.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CC/SHCCCOM.py b/test/CC/SHCCCOM.py
index 13cdaa8a..5606fd03 100644
--- a/test/CC/SHCCCOM.py
+++ b/test/CC/SHCCCOM.py
@@ -33,7 +33,7 @@ import TestSCons
Test the ability to configure the $SHCCCOM construction variable.
"""
-python = TestSCons.python
+_python_ = TestSCons._python_
test = TestSCons.TestSCons()
@@ -54,7 +54,7 @@ else:
alt_c_suffix = '.c'
test.write('SConstruct', """
-env = Environment(SHCCCOM = r'%(python)s mycc.py $TARGET $SOURCE',
+env = Environment(SHCCCOM = r'%(_python_)s mycc.py $TARGET $SOURCE',
SHOBJSUFFIX='.obj')
env.SharedObject(target = 'test1', source = 'test1.c')
env.SharedObject(target = 'test2', source = 'test2%(alt_c_suffix)s')