Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Variables / EnumVariable.py
index 241a9b93ff69b233186bbe526799e5d7fa40b7ad..bb85f4c93dd67a89d22399e04e92b9793b21fc81 100644 (file)
@@ -29,7 +29,6 @@ Test the EnumVariable canned Variable type.
 """
 
 import os.path
-import string
 
 import TestSCons
 
@@ -38,7 +37,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)