aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_assumevalid.py
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2019-01-24 21:16:35 -0800
committerMarcoFalke <falke.marco@gmail.com>2019-07-31 16:12:12 -0400
commit68f546635d5de2ccfedadeabc7bc79e12e5eca6a (patch)
treea3bb0ee43515e9a1b9523572cd28a6e6189df95c /test/functional/feature_assumevalid.py
parent3f288a1c05ebcadd7d7709f81c77921ff9e27ba2 (diff)
test: Fix “local variable 'e' is assigned to but never used”
flake8 F841 lints, as of flake8 3.6.0
Diffstat (limited to 'test/functional/feature_assumevalid.py')
-rwxr-xr-xtest/functional/feature_assumevalid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_assumevalid.py b/test/functional/feature_assumevalid.py
index b7814bf33e..420a3a7688 100755
--- a/test/functional/feature_assumevalid.py
+++ b/test/functional/feature_assumevalid.py
@@ -72,7 +72,7 @@ class AssumeValidTest(BitcoinTestFramework):
break
try:
p2p_conn.send_message(msg_block(self.blocks[i]))
- except IOError as e:
+ except IOError:
assert not p2p_conn.is_connected
break