[tests] Don't subclass from object for Python 3

This commit is contained in:
John Newbery
2017-10-16 21:46:23 -04:00
parent 8f9e3627ef
commit f893085325
12 changed files with 60 additions and 60 deletions

View File

@@ -89,7 +89,7 @@ class TestNode(NodeConnCB):
assert_equal(self.connection.rpc.getbestblockhash() == block.hash, accepted)
# Used to keep track of anyone-can-spend outputs that we can use in the tests
class UTXO(object):
class UTXO():
def __init__(self, sha256, n, nValue):
self.sha256 = sha256
self.n = n