diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-20 05:03:44 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-20 05:03:44 +0000 |
commit | f4d0f5a91828a1edd8bd1162b648592f8000d03a (patch) | |
tree | 5d37d9cbc3e7d2165c36cd0917cb6a2515adda1e /test/CPPPATH | |
parent | 9ecd62512d165b4a26c0fc5a4e64bda276f34155 (diff) | |
download | scons-f4d0f5a91828a1edd8bd1162b648592f8000d03a.tar.gz |
Convert old-style classes in test scripts to new-style classes.
Diffstat (limited to 'test/CPPPATH')
-rw-r--r-- | test/CPPPATH/expand-object.py | 2 | ||||
-rw-r--r-- | test/CPPPATH/list-expansion.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CPPPATH/expand-object.py b/test/CPPPATH/expand-object.py index 54e1d397..8c811b72 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 98817b9a..cec333d7 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 |