summaryrefslogtreecommitdiffstats
path: root/test/ToolSurrogate.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ToolSurrogate.py')
-rw-r--r--test/ToolSurrogate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ToolSurrogate.py b/test/ToolSurrogate.py
index 0674db1..a297056 100644
--- a/test/ToolSurrogate.py
+++ b/test/ToolSurrogate.py
@@ -34,7 +34,7 @@ import TestSCons
test = TestSCons.TestSCons()
test.write('SConstruct', """\
-class Curry(object):
+class Curry:
def __init__(self, fun, *args, **kwargs):
self.fun = fun
self.pending = args[:]
@@ -55,7 +55,7 @@ def Str(target, source, env, cmd=""):
result.append(" ".join(map(str, cmd)))
return '\\n'.join(result)
-class ToolSurrogate(object):
+class ToolSurrogate:
def __init__(self, tool, variable, func):
self.tool = tool
self.variable = variable