Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Variables / PackageVariable.py
index d6260556d9ae4bafa7beb9634e72c87f0bc4be4c..6ad7fc12dd7a0f81615ae73b7127eaccdc3f7333 100644 (file)
@@ -29,7 +29,6 @@ Test the PackageVariable canned Variable type.
 """
 
 import os.path
-import string
 
 try:
     True, False
@@ -44,7 +43,7 @@ test = TestSCons.TestSCons()
 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)