summaryrefslogtreecommitdiffstats
path: root/test/Variables/BoolVariable.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Variables/BoolVariable.py')
-rw-r--r--test/Variables/BoolVariable.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Variables/BoolVariable.py b/test/Variables/BoolVariable.py
index 3630fc8..37130c0 100644
--- a/test/Variables/BoolVariable.py
+++ b/test/Variables/BoolVariable.py
@@ -29,7 +29,6 @@ Test the BoolVariable canned Variable type.
"""
import os.path
-import string
try:
True, False
@@ -44,7 +43,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)