summaryrefslogtreecommitdiffstats
path: root/test/DVIPDF/DVIPDFCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/DVIPDF/DVIPDFCOM.py')
-rw-r--r--test/DVIPDF/DVIPDFCOM.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DVIPDF/DVIPDFCOM.py b/test/DVIPDF/DVIPDFCOM.py
index 61d5ce7..0d9cd8d 100644
--- a/test/DVIPDF/DVIPDFCOM.py
+++ b/test/DVIPDF/DVIPDFCOM.py
@@ -30,7 +30,7 @@ Test the ability to configure the $DVIPDFCOM 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', 'dvipdf'],
- DVIPDFCOM = r'%s mypdf.py $TARGET $SOURCES')
+ DVIPDFCOM = r'%(_python_)s mypdf.py $TARGET $SOURCES')
env.PDF(target = 'aaa', source = 'aaa.dvi')
-""" % python)
+""" % locals())
test.write('aaa.dvi', "aaa.dvi\n/*pdf*/\n")