Source

SCons / test / SHELL.py

Diff from to

File test/SHELL.py

 import TestSCons
 
 python = TestSCons.python
+_python_ = TestSCons._python_
 
 test = TestSCons.TestSCons()
 
 
 test.write('SConstruct', """\
 env = Environment(SHELL = r'%(my_shell)s')
-env.Command('file.out', 'file.in', "%(python)s fake_cat_program $TARGET $SOURCES")
+env.Command('file.out', 'file.in',
+            'r%(_python_)s fake_cat_program $TARGET $SOURCES')
 """ % locals())
 
 test.write('file.in', "file.in\n")