Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / CXX / SHCXXFLAGS.py
index a4d552e0eb0a0b05a5b969e53f2043697050a095..343be30f6edaf4ed8fe3732a5196a5ac453d6796 100644 (file)
@@ -29,7 +29,6 @@ Verify that $SHCXXFLAGS settings are used to build shared object files.
 """
 
 import os
-import string
 import sys
 
 import TestSCons
@@ -38,7 +37,7 @@ _obj = TestSCons._obj
 
 if os.name == 'posix':
     os.environ['LD_LIBRARY_PATH'] = '.'
-if string.find(sys.platform, 'irix') > -1:
+if sys.platform.find('irix') > -1:
     os.environ['LD_LIBRARYN32_PATH'] = '.'
 
 test = TestSCons.TestSCons()