[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

@@ -10,7 +10,7 @@ import dbm.dumb as dbmd
logger = logging.getLogger("TestFramework.blockstore")
class BlockStore(object):
class BlockStore():
"""BlockStore helper class.
BlockStore keeps a map of blocks and implements helper functions for
@@ -127,7 +127,7 @@ class BlockStore(object):
locator.vHave = r
return locator
class TxStore(object):
class TxStore():
def __init__(self, datadir):
self.txDB = dbmd.open(datadir + "/transactions", 'c')