summaryrefslogtreecommitdiffstats
path: root/test/Java/JARFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/JARFLAGS.py')
-rw-r--r--test/Java/JARFLAGS.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Java/JARFLAGS.py b/test/Java/JARFLAGS.py
index 7306426..c0ae627 100644
--- a/test/Java/JARFLAGS.py
+++ b/test/Java/JARFLAGS.py
@@ -25,7 +25,6 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
import TestSCons
@@ -69,7 +68,7 @@ expect = test.wrap_stdout("""\
adding: src/Example1\.class.*
""" % locals())
-expect = string.replace(expect, '/', os.sep)
+expect = expect.replace('/', os.sep)
test.run(arguments = '.',
match=TestSCons.match_re_dotall,