mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-21 11:30:16 +01:00
test: Fix “local variable 'e' is assigned to but never used”
flake8 F841 lints, as of flake8 3.6.0
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user