Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Deprecated / Options / PackageOption.py
index bb396539a15e169cd7bdefd3ed2d0e2cbdc157eb..b9f0400e2652157fa43af012a1000b7a73e2bd32 100644 (file)
@@ -29,7 +29,6 @@ Test the PackageOption canned Option type.
 """
 
 import os.path
-import string
 
 try:
     True, False
@@ -44,7 +43,7 @@ test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
 SConstruct_path = test.workpath('SConstruct')
 
 def check(expect):
-    result = string.split(test.stdout(), '\n')
+    result = test.stdout().split('\n')
     assert result[1:len(expect)+1] == expect, (result[1:len(expect)+1], expect)