summaryrefslogtreecommitdiffstats
path: root/test/option--C.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--C.py')
-rw-r--r--test/option--C.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/option--C.py b/test/option--C.py
index 1a9a72b..27f4950 100644
--- a/test/option--C.py
+++ b/test/option--C.py
@@ -25,14 +25,13 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import types
import TestSCons
def match_normcase(lines, matches):
- if not type(lines) is types.ListType:
+ if not isinstance(lines, list):
lines = lines.split("\n")
- if not type(matches) is types.ListType:
+ if not isinstance(matches, list):
matches = matches.split("\n")
if len(lines) != len(matches):
return