Merged revisions 1582-1665 via svnmerge from
[scons.git] / test / CC / SHCCCOM.py
index 13cdaa8ab5e5677257a7aef26a40b7c15514a574..5606fd0393ede241f0d7b185061abbec5d3ebb4e 100644 (file)
@@ -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')