summaryrefslogtreecommitdiffstats
path: root/test/Progress/spinner.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Progress/spinner.py')
-rw-r--r--test/Progress/spinner.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Progress/spinner.py b/test/Progress/spinner.py
index 0919b44..85ca32f 100644
--- a/test/Progress/spinner.py
+++ b/test/Progress/spinner.py
@@ -30,7 +30,6 @@ that represents a canonical "spinner" on the output.
"""
import os
-import string
import TestSCons
@@ -59,7 +58,7 @@ expect = """\
\\\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)