summaryrefslogtreecommitdiffstats
path: root/test/option/stack-size.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option/stack-size.py')
-rw-r--r--test/option/stack-size.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/option/stack-size.py b/test/option/stack-size.py
index 9458356..3d7a715 100644
--- a/test/option/stack-size.py
+++ b/test/option/stack-size.py
@@ -24,8 +24,6 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-
import TestSCons
_python_ = TestSCons._python_
@@ -81,7 +79,7 @@ expected_stdout = test.wrap_stdout("""\
%(_python_)s ../build.py f2.out f2.in
""" % locals())
-re_expected_stdout = string.replace(expected_stdout, '\\', '\\\\')
+re_expected_stdout = expected_stdout.replace('\\', '\\\\')
expect_unsupported = """
scons: warning: Setting stack size is unsupported by this version of Python: