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