aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/bip65-cltv.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2015-12-02 18:12:23 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-01-13 20:31:03 +0100
commit7777994846cdb9b9cf69e391a33eeed30393bbcf (patch)
tree371953417d82780ca58a8cd7c8fe96e4c71fa216 /qa/rpc-tests/bip65-cltv.py
parent17ef279304a94ec01a8525189b80c163d931b1cf (diff)
downloadbitcoin-7777994846cdb9b9cf69e391a33eeed30393bbcf.tar.xz
[qa] Fix pyton syntax in rpc tests
Diffstat (limited to 'qa/rpc-tests/bip65-cltv.py')
-rwxr-xr-xqa/rpc-tests/bip65-cltv.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/rpc-tests/bip65-cltv.py b/qa/rpc-tests/bip65-cltv.py
index e90e11e6a7..f666a07c9b 100755
--- a/qa/rpc-tests/bip65-cltv.py
+++ b/qa/rpc-tests/bip65-cltv.py
@@ -9,8 +9,6 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
-import os
-import shutil
class BIP65Test(BitcoinTestFramework):
@@ -46,7 +44,7 @@ class BIP65Test(BitcoinTestFramework):
self.nodes[2].generate(1)
self.sync_all()
if (self.nodes[0].getblockcount() != cnt + 851):
- raise AssertionFailure("Failed to mine a version=4 blocks")
+ raise AssertionError("Failed to mine a version=4 blocks")
# TODO: check that new CHECKLOCKTIMEVERIFY rules are enforced