summaryrefslogtreecommitdiffstats
path: root/test/Repository/M4.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Repository/M4.py')
-rw-r--r--test/Repository/M4.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Repository/M4.py b/test/Repository/M4.py
index b3ed755..fe1eb7b 100644
--- a/test/Repository/M4.py
+++ b/test/Repository/M4.py
@@ -39,10 +39,9 @@ test = TestSCons.TestSCons()
test.subdir('work', 'repository', ['repository', 'src'])
test.write('mym4.py', """
-import string
import sys
contents = sys.stdin.read()
-sys.stdout.write(string.replace(contents, 'M4', 'mym4.py'))
+sys.stdout.write(contents.replace('M4', 'mym4.py'))
sys.exit(0)
""")