mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 16:02:40 +02:00
[qa] Use python2/3 syntax
This commit is contained in:
@ -82,7 +82,7 @@ class ImportPrunedFundsTest(BitcoinTestFramework):
|
||||
#Import with no affiliated address
|
||||
try:
|
||||
result1 = self.nodes[1].importprunedfunds(rawtxn1, proof1, "")
|
||||
except JSONRPCException,e:
|
||||
except JSONRPCException as e:
|
||||
errorString = e.error['message']
|
||||
|
||||
assert('No addresses' in errorString)
|
||||
@ -119,7 +119,7 @@ class ImportPrunedFundsTest(BitcoinTestFramework):
|
||||
|
||||
try:
|
||||
self.nodes[1].removeprunedfunds(txnid1)
|
||||
except JSONRPCException,e:
|
||||
except JSONRPCException as e:
|
||||
errorString = e.error['message']
|
||||
|
||||
assert('does not exist' in errorString)
|
||||
|
Reference in New Issue
Block a user