summaryrefslogtreecommitdiffstats
path: root/test/Progress/TARGET.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Progress/TARGET.py')
-rw-r--r--test/Progress/TARGET.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Progress/TARGET.py b/test/Progress/TARGET.py
index c2b4213..d7ff3c9 100644
--- a/test/Progress/TARGET.py
+++ b/test/Progress/TARGET.py
@@ -30,7 +30,6 @@ overwriting it by setting the overwrite= keyword argument.
"""
import os
-import string
import TestSCons
@@ -59,7 +58,7 @@ S1.in\r \rS1.out\rCopy("S1.out", "S1.in")
\rSConstruct\r \r.\r"""
if os.linesep != '\n':
- expect = string.replace(expect, '\n', os.linesep)
+ expect = expect.replace('\n', os.linesep)
test.run(arguments = '-Q .', stdout=expect)