diff options
Diffstat (limited to 'test/Java/JAVACFLAGS.py')
-rw-r--r-- | test/Java/JAVACFLAGS.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Java/JAVACFLAGS.py b/test/Java/JAVACFLAGS.py index d86c267..6afd1b9 100644 --- a/test/Java/JAVACFLAGS.py +++ b/test/Java/JAVACFLAGS.py @@ -25,7 +25,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os -import string import TestSCons @@ -57,7 +56,7 @@ public class Example1 """) expected_wrapper_out = "%(where_javac)s -O -d classes -sourcepath src src/Example1.java\n" -expected_wrapper_out = string.replace(expected_wrapper_out, '/', os.sep) +expected_wrapper_out = expected_wrapper_out.replace('/', os.sep) test.run(arguments = '.', stdout = test.wrap_stdout(expected_wrapper_out % locals())) |