diff options
Diffstat (limited to 'test/DVIPS/PSCOM.py')
-rw-r--r-- | test/DVIPS/PSCOM.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DVIPS/PSCOM.py b/test/DVIPS/PSCOM.py index 65e66a2..0d8408e 100644 --- a/test/DVIPS/PSCOM.py +++ b/test/DVIPS/PSCOM.py @@ -30,7 +30,7 @@ Test the ability to configure the $PSCOM 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', 'dvips'], - PSCOM = r'%s myps.py $TARGET $SOURCES') + PSCOM = r'%(_python_)s myps.py $TARGET $SOURCES') env.PostScript(target = 'aaa', source = 'aaa.dvi') -""" % python) +""" % locals()) test.write('aaa.dvi', "aaa.dvi\n/*ps*/\n") |