Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Fortran / F95FLAGS.py
index 4b9ef83e6293e2a6bce5f4d28b0da209876f351b..de188585244c33caec450ffb54a6d77a7bc3c6dd 100644 (file)
@@ -24,8 +24,6 @@
 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import string
-
 import TestSCons
 
 from common import write_fake_link
@@ -109,11 +107,10 @@ if g95:
 
     test.write("wrapper.py",
 """import os
-import string
 import sys
 open('%s', 'wb').write("wrapper.py\\n")
-os.system(string.join(sys.argv[1:], " "))
-""" % string.replace(test.workpath('wrapper.out'), '\\', '\\\\'))
+os.system(" ".join(sys.argv[1:]))
+""" % test.workpath('wrapper.out').replace('\\', '\\\\'))
 
     test.write('SConstruct', """
 foo = Environment(F95 = '%(fc)s')
@@ -155,3 +152,9 @@ bar.Program(target = 'bar', source = 'bar.f95')
     test.must_match('wrapper.out', "wrapper.py\n")
 
 test.pass_test()
+
+# Local Variables:
+# tab-width:4
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=4 shiftwidth=4: