aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/bipdersig.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2015-12-02 18:12:23 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-18 10:46:46 +0100
commitd8b062d752838aa0d7141355a1341768d4c4064c (patch)
tree0f31cc55f117bec93a2adf1cae4c5bea930fb293 /qa/rpc-tests/bipdersig.py
parentd04525a065aefc02a2b719743b18a9c13c91c121 (diff)
downloadbitcoin-d8b062d752838aa0d7141355a1341768d4c4064c.tar.xz
[qa] Fix pyton syntax in rpc tests
Github-Pull: #7335 Rebased-From: 7777994846cdb9b9cf69e391a33eeed30393bbcf
Diffstat (limited to 'qa/rpc-tests/bipdersig.py')
-rwxr-xr-xqa/rpc-tests/bipdersig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/rpc-tests/bipdersig.py b/qa/rpc-tests/bipdersig.py
index 5afc9ddde8..be9121c456 100755
--- a/qa/rpc-tests/bipdersig.py
+++ b/qa/rpc-tests/bipdersig.py
@@ -9,8 +9,6 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
-import os
-import shutil
class BIP66Test(BitcoinTestFramework):
@@ -46,7 +44,7 @@ class BIP66Test(BitcoinTestFramework):
self.nodes[2].generate(1)
self.sync_all()
if (self.nodes[0].getblockcount() != cnt + 851):
- raise AssertionFailure("Failed to mine a version=3 blocks")
+ raise AssertionError("Failed to mine a version=3 blocks")
# TODO: check that new DERSIG rules are enforced