Skip to content
Permalink
Browse files
Merge pull request #6465
56b28fc Don't share objects between TestInstances (Casey Rodarmor)
  • Loading branch information
laanwj committed Jul 24, 2015
2 parents d2464df + 56b28fc commit 410fd7448a58b497ac0c3207b6e1d076c13bca2e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -122,8 +122,8 @@ def send_mempool(self):
# or false, then only the last tx is tested against outcome.)

class TestInstance(object):
def __init__(self, objects=[], sync_every_block=True, sync_every_tx=False):
self.blocks_and_transactions = objects
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

0 comments on commit 410fd74

Please sign in to comment.