summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Scanner/FortranTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-12 05:21:33 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-12 05:21:33 (GMT)
commit53fc08f1c8d9d4d0174247cb34b770342fd25068 (patch)
treedb3ece8a678daf4f6d004096a05ddaaab94aa3a7 /src/engine/SCons/Scanner/FortranTests.py
parentc94aad42405270dcfe9225d49fbf2aa2cae0b50d (diff)
downloadSCons-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/Scanner/FortranTests.py')
-rw-r--r--src/engine/SCons/Scanner/FortranTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Scanner/FortranTests.py b/src/engine/SCons/Scanner/FortranTests.py
index 9ebe2e6..3388ffc 100644
--- a/src/engine/SCons/Scanner/FortranTests.py
+++ b/src/engine/SCons/Scanner/FortranTests.py
@@ -207,7 +207,7 @@ test.write(['modules', 'use.mod'], "\n")
# define some helpers:
-class DummyEnvironment:
+class DummyEnvironment(object):
def __init__(self, listCppPath):
self.path = listCppPath
self.fs = SCons.Node.FS.FS(test.workpath(''))
@@ -390,7 +390,7 @@ class FortranScannerTestCase10(unittest.TestCase):
class FortranScannerTestCase11(unittest.TestCase):
def runTest(self):
SCons.Warnings.enableWarningClass(SCons.Warnings.DependencyWarning)
- class TestOut:
+ class TestOut(object):
def __call__(self, x):
self.out = x