Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Variables / PathVariable.py
index 447d36991a8338f69daee1313c2b786654d91026..bfe82bad1a7d4526f167467f3be59ef3bf8e3773 100644 (file)
@@ -30,7 +30,6 @@ various canned validators.
 """
 
 import os.path
-import string
 
 import TestSCons
 
@@ -39,7 +38,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)
 
 #### test PathVariable ####