summaryrefslogtreecommitdiffstats
path: root/test/Deprecated/Options/ListOption.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Deprecated/Options/ListOption.py')
-rw-r--r--test/Deprecated/Options/ListOption.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Deprecated/Options/ListOption.py b/test/Deprecated/Options/ListOption.py
index 28983d2..bb3775b 100644
--- a/test/Deprecated/Options/ListOption.py
+++ b/test/Deprecated/Options/ListOption.py
@@ -29,7 +29,6 @@ Test the ListOption canned Option type.
"""
import os
-import string
import TestSCons
@@ -39,7 +38,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')
r = result[1:len(expect)+1]
assert r == expect, (r, expect)