Skip to content

Commit

Permalink
fix in rpc_blockchain.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed Hilali committed Mar 23, 2020
1 parent c71a00a commit 9aecbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/rpc_blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def _test_stopatheight(self):
assert_raises(subprocess.TimeoutExpired, lambda: self.nodes[0].process.wait(timeout=3))
try:
self.nodes[0].generate(1)
except (ConnectionError, http.client.BadStatusLine):
except: # (ConnectionError, http.client.BadStatusLine): # pass on ANY exception
pass # The node already shut down before response
self.log.debug('Node should stop at this height...')
self.nodes[0].wait_until_stopped()
Expand Down

0 comments on commit 9aecbe9

Please sign in to comment.