summaryrefslogtreecommitdiffstats
path: root/test/Deprecated/Options/EnumOption.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Deprecated/Options/EnumOption.py')
-rw-r--r--test/Deprecated/Options/EnumOption.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Deprecated/Options/EnumOption.py b/test/Deprecated/Options/EnumOption.py
index 26b14d8..6756f09 100644
--- a/test/Deprecated/Options/EnumOption.py
+++ b/test/Deprecated/Options/EnumOption.py
@@ -29,7 +29,6 @@ Test the EnumOption canned Option type.
"""
import os.path
-import string
import TestSCons
@@ -38,7 +37,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)