summaryrefslogtreecommitdiffstats
path: root/test/Variables/EnumVariable.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Variables/EnumVariable.py')
-rw-r--r--test/Variables/EnumVariable.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Variables/EnumVariable.py b/test/Variables/EnumVariable.py
index 241a9b9..bb85f4c 100644
--- a/test/Variables/EnumVariable.py
+++ b/test/Variables/EnumVariable.py
@@ -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)