diff options
author | John Newbery <john@johnnewbery.com> | 2017-10-16 21:46:23 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-10-16 21:46:23 -0400 |
commit | f893085325b57dd07bde78a01e5dcb7d303154de (patch) | |
tree | dd0fcd3155fde2b3a50f6cfee75f482d857c185b /test/functional/test_framework/comptool.py | |
parent | 8f9e3627ef054c9732f4e529c6ed429ed8dc7183 (diff) |
[tests] Don't subclass from object for Python 3
Diffstat (limited to 'test/functional/test_framework/comptool.py')
-rwxr-xr-x | test/functional/test_framework/comptool.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/test_framework/comptool.py b/test/functional/test_framework/comptool.py index bfbc0c3b03..b0417e02d8 100755 --- a/test/functional/test_framework/comptool.py +++ b/test/functional/test_framework/comptool.py @@ -27,7 +27,7 @@ logger=logging.getLogger("TestFramework.comptool") global mininode_lock -class RejectResult(object): +class RejectResult(): """Outcome that expects rejection of a transaction or block.""" def __init__(self, code, reason=b''): self.code = code @@ -156,13 +156,13 @@ class TestNode(NodeConnCB): # across all connections. (If outcome of final tx is specified as true # or false, then only the last tx is tested against outcome.) -class TestInstance(object): +class TestInstance(): def __init__(self, objects=None, sync_every_block=True, sync_every_tx=False): self.blocks_and_transactions = objects if objects else [] self.sync_every_block = sync_every_block self.sync_every_tx = sync_every_tx -class TestManager(object): +class TestManager(): def __init__(self, testgen, datadir): self.test_generator = testgen |