summaryrefslogtreecommitdiffstats
path: root/SCons/SConfTests.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-05-23 13:46:18 (GMT)
committerMats Wichmann <mats@linux.com>2020-05-24 15:27:22 (GMT)
commit5b288f1b67a85bcccc533f101311b1c2c7f2b6eb (patch)
treeadca21d96e435443cbc90985f53f67b85530a6c2 /SCons/SConfTests.py
parent0e76754e652e974f82f975d2cf526d5f7705baab (diff)
downloadSCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.zip
SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.gz
SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.bz2
classes no longer explicitly inherit from object
In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/SConfTests.py')
-rw-r--r--SCons/SConfTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/SCons/SConfTests.py b/SCons/SConfTests.py
index e2b9133..8ce6b3a 100644
--- a/SCons/SConfTests.py
+++ b/SCons/SConfTests.py
@@ -158,7 +158,7 @@ class SConfTestCase(unittest.TestCase):
import SCons.Builder
import SCons.Node
- class MyAction(object):
+ class MyAction:
def get_contents(self, target, source, env):
return 'MyBuilder-MyAction $SOURCE $TARGET'
@@ -170,7 +170,7 @@ class SConfTestCase(unittest.TestCase):
self.action = MyAction()
def __call__(self, env, target, source):
- class MyNode(object):
+ class MyNode:
def __init__(self, name):
self.name = name
self.state = SCons.Node.no_state
@@ -215,7 +215,7 @@ class SConfTestCase(unittest.TestCase):
def get_stored_info(self):
pass
def get_executor(self):
- class Executor(object):
+ class Executor:
def __init__(self, targets):
self.targets = targets
def get_all_targets(self):