From 55ee32a56e8da4b5261ff7b28f218a820d7535ad Mon Sep 17 00:00:00 2001 From: stevenknight Date: Fri, 6 Feb 2009 16:54:04 +0000 Subject: [PATCH] Remove unnecessary imports. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3970 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/Fortran/F77.py | 3 +-- test/Fortran/F77COM.py | 3 --- test/Fortran/F77COMSTR.py | 3 --- test/Fortran/F77FILESUFFIXES.py | 3 --- test/Fortran/F77FILESUFFIXES2.py | 3 --- test/Fortran/F77FLAGS.py | 3 +-- test/Fortran/F77PATH.py | 3 ++- test/Fortran/F90.py | 3 --- test/Fortran/F90COM.py | 3 --- test/Fortran/F90COMSTR.py | 3 --- test/Fortran/F90FILESUFFIXES.py | 3 --- test/Fortran/F90FILESUFFIXES2.py | 3 --- test/Fortran/F90FLAGS.py | 3 --- test/Fortran/F90PATH.py | 3 +-- test/Fortran/F95.py | 3 +-- test/Fortran/F95COM.py | 3 --- test/Fortran/F95COMSTR.py | 3 --- test/Fortran/F95FILESUFFIXES.py | 3 --- test/Fortran/F95FILESUFFIXES2.py | 3 --- test/Fortran/F95FLAGS.py | 3 +-- test/Fortran/FORTRAN.py | 3 +-- test/Fortran/FORTRANCOM.py | 3 --- test/Fortran/FORTRANCOMSTR.py | 3 --- test/Fortran/FORTRANFILESUFFIXES.py | 3 --- test/Fortran/FORTRANFILESUFFIXES2.py | 3 --- test/Fortran/FORTRANFLAGS.py | 3 +-- test/Fortran/FORTRANMODDIR.py | 3 --- test/Fortran/FORTRANPATH.py | 3 ++- test/Fortran/SHF77.py | 3 +-- test/Fortran/SHF77COM.py | 3 --- test/Fortran/SHF77COMSTR.py | 3 --- test/Fortran/SHF77FLAGS.py | 3 +-- test/Fortran/SHF90.py | 3 --- test/Fortran/SHF90COM.py | 3 --- test/Fortran/SHF90COMSTR.py | 3 --- test/Fortran/SHF90FLAGS.py | 3 --- test/Fortran/SHF95.py | 3 +-- test/Fortran/SHF95COM.py | 3 --- test/Fortran/SHF95COMSTR.py | 3 --- test/Fortran/SHF95FLAGS.py | 3 +-- test/Fortran/SHFORTRAN.py | 3 +-- test/Fortran/SHFORTRANCOM.py | 3 --- test/Fortran/SHFORTRANCOMSTR.py | 3 --- test/Fortran/SHFORTRANFLAGS.py | 3 +-- test/Fortran/USE-MODULE.py | 3 --- test/Fortran/module-subdir.py | 2 +- 46 files changed, 18 insertions(+), 119 deletions(-) diff --git a/test/Fortran/F77.py b/test/Fortran/F77.py index 0f28b7e8..0d3d8b4f 100644 --- a/test/Fortran/F77.py +++ b/test/Fortran/F77.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons from common import write_fake_link diff --git a/test/Fortran/F77COM.py b/test/Fortran/F77COM.py index 54565026..413c1861 100644 --- a/test/Fortran/F77COM.py +++ b/test/Fortran/F77COM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F77COMSTR.py b/test/Fortran/F77COMSTR.py index af0cb4d8..2590cf44 100644 --- a/test/Fortran/F77COMSTR.py +++ b/test/Fortran/F77COMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/F77FILESUFFIXES.py b/test/Fortran/F77FILESUFFIXES.py index fedbb53f..ff1f2334 100644 --- a/test/Fortran/F77FILESUFFIXES.py +++ b/test/Fortran/F77FILESUFFIXES.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F77FILESUFFIXES2.py b/test/Fortran/F77FILESUFFIXES2.py index bde12001..afbdbbeb 100644 --- a/test/Fortran/F77FILESUFFIXES2.py +++ b/test/Fortran/F77FILESUFFIXES2.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F77FLAGS.py b/test/Fortran/F77FLAGS.py index a358507b..1ad27f50 100644 --- a/test/Fortran/F77FLAGS.py +++ b/test/Fortran/F77FLAGS.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons from common import write_fake_link diff --git a/test/Fortran/F77PATH.py b/test/Fortran/F77PATH.py index b8856f3a..e1973da6 100644 --- a/test/Fortran/F77PATH.py +++ b/test/Fortran/F77PATH.py @@ -25,7 +25,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os -import sys +import string + import TestSCons _exe = TestSCons._exe diff --git a/test/Fortran/F90.py b/test/Fortran/F90.py index ad73d9f7..04ce465a 100644 --- a/test/Fortran/F90.py +++ b/test/Fortran/F90.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F90COM.py b/test/Fortran/F90COM.py index 1b33c73d..53f99d0c 100644 --- a/test/Fortran/F90COM.py +++ b/test/Fortran/F90COM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F90COMSTR.py b/test/Fortran/F90COMSTR.py index 27fd3326..2ab1b3e2 100644 --- a/test/Fortran/F90COMSTR.py +++ b/test/Fortran/F90COMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/F90FILESUFFIXES.py b/test/Fortran/F90FILESUFFIXES.py index ac4126ae..5c66f3bd 100644 --- a/test/Fortran/F90FILESUFFIXES.py +++ b/test/Fortran/F90FILESUFFIXES.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F90FILESUFFIXES2.py b/test/Fortran/F90FILESUFFIXES2.py index 658eda3e..408f276b 100644 --- a/test/Fortran/F90FILESUFFIXES2.py +++ b/test/Fortran/F90FILESUFFIXES2.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F90FLAGS.py b/test/Fortran/F90FLAGS.py index 8e42ed58..c2672a7c 100644 --- a/test/Fortran/F90FLAGS.py +++ b/test/Fortran/F90FLAGS.py @@ -25,9 +25,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F90PATH.py b/test/Fortran/F90PATH.py index e5fca993..c069f64a 100644 --- a/test/Fortran/F90PATH.py +++ b/test/Fortran/F90PATH.py @@ -25,9 +25,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os -import os.path import string -import sys + import TestSCons _exe = TestSCons._exe diff --git a/test/Fortran/F95.py b/test/Fortran/F95.py index 0a5d8536..d9bbfe21 100644 --- a/test/Fortran/F95.py +++ b/test/Fortran/F95.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons from common import write_fake_link diff --git a/test/Fortran/F95COM.py b/test/Fortran/F95COM.py index 71585caa..bac7a862 100644 --- a/test/Fortran/F95COM.py +++ b/test/Fortran/F95COM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F95COMSTR.py b/test/Fortran/F95COMSTR.py index 371fbd52..029d9872 100644 --- a/test/Fortran/F95COMSTR.py +++ b/test/Fortran/F95COMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/F95FILESUFFIXES.py b/test/Fortran/F95FILESUFFIXES.py index f42d2363..beefb282 100644 --- a/test/Fortran/F95FILESUFFIXES.py +++ b/test/Fortran/F95FILESUFFIXES.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F95FILESUFFIXES2.py b/test/Fortran/F95FILESUFFIXES2.py index 2f31152d..59fd9b63 100644 --- a/test/Fortran/F95FILESUFFIXES2.py +++ b/test/Fortran/F95FILESUFFIXES2.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/F95FLAGS.py b/test/Fortran/F95FLAGS.py index d43d8f58..4b9ef83e 100644 --- a/test/Fortran/F95FLAGS.py +++ b/test/Fortran/F95FLAGS.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons from common import write_fake_link diff --git a/test/Fortran/FORTRAN.py b/test/Fortran/FORTRAN.py index 768ff917..edd50a0b 100644 --- a/test/Fortran/FORTRAN.py +++ b/test/Fortran/FORTRAN.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons from common import write_fake_link diff --git a/test/Fortran/FORTRANCOM.py b/test/Fortran/FORTRANCOM.py index c20f230f..472a88db 100644 --- a/test/Fortran/FORTRANCOM.py +++ b/test/Fortran/FORTRANCOM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/FORTRANCOMSTR.py b/test/Fortran/FORTRANCOMSTR.py index e71c516c..1f3e2915 100644 --- a/test/Fortran/FORTRANCOMSTR.py +++ b/test/Fortran/FORTRANCOMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/FORTRANFILESUFFIXES.py b/test/Fortran/FORTRANFILESUFFIXES.py index 01642e09..dfdad020 100644 --- a/test/Fortran/FORTRANFILESUFFIXES.py +++ b/test/Fortran/FORTRANFILESUFFIXES.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/FORTRANFILESUFFIXES2.py b/test/Fortran/FORTRANFILESUFFIXES2.py index 4cfcc07f..14656896 100644 --- a/test/Fortran/FORTRANFILESUFFIXES2.py +++ b/test/Fortran/FORTRANFILESUFFIXES2.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons from common import write_fake_link diff --git a/test/Fortran/FORTRANFLAGS.py b/test/Fortran/FORTRANFLAGS.py index e3a8c9b3..4f140a80 100644 --- a/test/Fortran/FORTRANFLAGS.py +++ b/test/Fortran/FORTRANFLAGS.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons from common import write_fake_link diff --git a/test/Fortran/FORTRANMODDIR.py b/test/Fortran/FORTRANMODDIR.py index c0e158d7..62e3935a 100644 --- a/test/Fortran/FORTRANMODDIR.py +++ b/test/Fortran/FORTRANMODDIR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/FORTRANPATH.py b/test/Fortran/FORTRANPATH.py index d5f2cb1c..465b5c76 100644 --- a/test/Fortran/FORTRANPATH.py +++ b/test/Fortran/FORTRANPATH.py @@ -25,7 +25,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os -import sys +import string + import TestSCons _exe = TestSCons._exe diff --git a/test/Fortran/SHF77.py b/test/Fortran/SHF77.py index 36714490..63bca4de 100644 --- a/test/Fortran/SHF77.py +++ b/test/Fortran/SHF77.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF77COM.py b/test/Fortran/SHF77COM.py index fcb25e59..1e35b200 100644 --- a/test/Fortran/SHF77COM.py +++ b/test/Fortran/SHF77COM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF77COMSTR.py b/test/Fortran/SHF77COMSTR.py index 7a8cbe14..ec698be2 100644 --- a/test/Fortran/SHF77COMSTR.py +++ b/test/Fortran/SHF77COMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF77FLAGS.py b/test/Fortran/SHF77FLAGS.py index 4570ebce..aac7b9de 100644 --- a/test/Fortran/SHF77FLAGS.py +++ b/test/Fortran/SHF77FLAGS.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF90.py b/test/Fortran/SHF90.py index a045acf2..ea673133 100644 --- a/test/Fortran/SHF90.py +++ b/test/Fortran/SHF90.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF90COM.py b/test/Fortran/SHF90COM.py index 3c36f040..fab31939 100644 --- a/test/Fortran/SHF90COM.py +++ b/test/Fortran/SHF90COM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF90COMSTR.py b/test/Fortran/SHF90COMSTR.py index 2d512a56..f52d2f20 100644 --- a/test/Fortran/SHF90COMSTR.py +++ b/test/Fortran/SHF90COMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF90FLAGS.py b/test/Fortran/SHF90FLAGS.py index d98709c2..5e8e996c 100644 --- a/test/Fortran/SHF90FLAGS.py +++ b/test/Fortran/SHF90FLAGS.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF95.py b/test/Fortran/SHF95.py index bf338e74..18f03b25 100644 --- a/test/Fortran/SHF95.py +++ b/test/Fortran/SHF95.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF95COM.py b/test/Fortran/SHF95COM.py index e02c2646..26557e55 100644 --- a/test/Fortran/SHF95COM.py +++ b/test/Fortran/SHF95COM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF95COMSTR.py b/test/Fortran/SHF95COMSTR.py index ebefac4d..fdc176ff 100644 --- a/test/Fortran/SHF95COMSTR.py +++ b/test/Fortran/SHF95COMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHF95FLAGS.py b/test/Fortran/SHF95FLAGS.py index 9da4afc9..50f61d62 100644 --- a/test/Fortran/SHF95FLAGS.py +++ b/test/Fortran/SHF95FLAGS.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHFORTRAN.py b/test/Fortran/SHFORTRAN.py index ad575dda..d6f428dd 100644 --- a/test/Fortran/SHFORTRAN.py +++ b/test/Fortran/SHFORTRAN.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHFORTRANCOM.py b/test/Fortran/SHFORTRANCOM.py index 3aca02cd..222cb89a 100644 --- a/test/Fortran/SHFORTRANCOM.py +++ b/test/Fortran/SHFORTRANCOM.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHFORTRANCOMSTR.py b/test/Fortran/SHFORTRANCOMSTR.py index e0e17b5c..7d313926 100644 --- a/test/Fortran/SHFORTRANCOMSTR.py +++ b/test/Fortran/SHFORTRANCOMSTR.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/SHFORTRANFLAGS.py b/test/Fortran/SHFORTRANFLAGS.py index 1369cdd1..1ec215d7 100644 --- a/test/Fortran/SHFORTRANFLAGS.py +++ b/test/Fortran/SHFORTRANFLAGS.py @@ -24,9 +24,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import string -import sys + import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/USE-MODULE.py b/test/Fortran/USE-MODULE.py index 23d0a894..99b7d693 100644 --- a/test/Fortran/USE-MODULE.py +++ b/test/Fortran/USE-MODULE.py @@ -24,9 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os -import string -import sys import TestSCons _python_ = TestSCons._python_ diff --git a/test/Fortran/module-subdir.py b/test/Fortran/module-subdir.py index 35f3c6fd..32f283fd 100644 --- a/test/Fortran/module-subdir.py +++ b/test/Fortran/module-subdir.py @@ -29,7 +29,7 @@ Validate that $FORTRANMODDIR values get expanded correctly on Fortran command lines relative to the appropriate subdirectory. """ -import os.path +import os import TestSCons -- 2.26.2