summaryrefslogtreecommitdiffstats
path: root/test/CPPPATH
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-20 05:03:44 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-20 05:03:44 (GMT)
commite53ab342686b8a577f9231d91fe3578cbbd6641a (patch)
tree5d37d9cbc3e7d2165c36cd0917cb6a2515adda1e /test/CPPPATH
parent70ee995e9464e6ffae6ec456f6e8f419a29ce6be (diff)
downloadSCons-e53ab342686b8a577f9231d91fe3578cbbd6641a.zip
SCons-e53ab342686b8a577f9231d91fe3578cbbd6641a.tar.gz
SCons-e53ab342686b8a577f9231d91fe3578cbbd6641a.tar.bz2
Convert old-style classes in test scripts to new-style classes.
Diffstat (limited to 'test/CPPPATH')
-rw-r--r--test/CPPPATH/expand-object.py2
-rw-r--r--test/CPPPATH/list-expansion.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CPPPATH/expand-object.py b/test/CPPPATH/expand-object.py
index 54e1d39..8c811b7 100644
--- a/test/CPPPATH/expand-object.py
+++ b/test/CPPPATH/expand-object.py
@@ -34,7 +34,7 @@ import TestSCons
test = TestSCons.TestSCons()
test.write('SConstruct', """
-class XXX:
+class XXX(object):
def __init__(self, value):
self.value = value
def __str__(self):
diff --git a/test/CPPPATH/list-expansion.py b/test/CPPPATH/list-expansion.py
index 98817b9..cec333d 100644
--- a/test/CPPPATH/list-expansion.py
+++ b/test/CPPPATH/list-expansion.py
@@ -42,7 +42,7 @@ test = TestSCons.TestSCons()
test.subdir('sub1', 'sub2', 'sub3', 'sub4')
test.write('SConstruct', """\
-class _inc_test:
+class _inc_test(object):
def __init__(self, name):
self.name = name