summaryrefslogtreecommitdiffstats
path: root/test/Errors/non-executable-file.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Errors/non-executable-file.py')
-rw-r--r--test/Errors/non-executable-file.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Errors/non-executable-file.py b/test/Errors/non-executable-file.py
index dc6b606..e51dc85 100644
--- a/test/Errors/non-executable-file.py
+++ b/test/Errors/non-executable-file.py
@@ -25,7 +25,6 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
import TestSCons
@@ -72,7 +71,7 @@ test.write('SConstruct', r"""
bld = Builder(action = '%s $SOURCES $TARGET')
env = Environment(BUILDERS = { 'bld': bld })
env.bld(target = 'f1', source = 'f1.in')
-""" % string.replace(not_executable, '\\', '\\\\'))
+""" % not_executable.replace('\\', '\\\\'))
test.run(arguments='.',
stdout = test.wrap_stdout("%s f1.in f1\n" % not_executable, error=1),