diff options
| author | Steven Knight <knight@baldmt.com> | 2010-05-12 05:21:33 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2010-05-12 05:21:33 (GMT) |
| commit | 53fc08f1c8d9d4d0174247cb34b770342fd25068 (patch) | |
| tree | db3ece8a678daf4f6d004096a05ddaaab94aa3a7 /src/engine/SCons/Variables/VariablesTests.py | |
| parent | c94aad42405270dcfe9225d49fbf2aa2cae0b50d (diff) | |
| download | SCons-53fc08f1c8d9d4d0174247cb34b770342fd25068.zip SCons-53fc08f1c8d9d4d0174247cb34b770342fd25068.tar.gz SCons-53fc08f1c8d9d4d0174247cb34b770342fd25068.tar.bz2 | |
Convert old-style utility classes in unit test files (*Tests.py)
to new-style classes.
Diffstat (limited to 'src/engine/SCons/Variables/VariablesTests.py')
| -rw-r--r-- | src/engine/SCons/Variables/VariablesTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Variables/VariablesTests.py b/src/engine/SCons/Variables/VariablesTests.py index 6df1571..ad46bd6 100644 --- a/src/engine/SCons/Variables/VariablesTests.py +++ b/src/engine/SCons/Variables/VariablesTests.py @@ -32,7 +32,7 @@ import SCons.Subst import SCons.Warnings -class Environment: +class Environment(object): def __init__(self): self.dict = {} def subst(self, x): @@ -380,7 +380,7 @@ class VariablesTestCase(unittest.TestCase): 'OPT_BOOL_2' : 2}) # Test against some old bugs - class Foo: + class Foo(object): def __init__(self, x): self.x = x def __str__(self): |
