Raise an AssertionError with msg modified to identify this node.
(self, msg: str)
| 118 | return "[node %d] %s" % (self.index, msg) |
| 119 | |
| 120 | def _raise_assertion_error(self, msg: str): |
| 121 | """Raise an AssertionError with msg modified to identify this node.""" |
| 122 | raise AssertionError(self._node_msg(msg)) |
| 123 | |
| 124 | def __del__(self): |
| 125 | # Ensure that we don't leave any bitcoind processes lying around after |
no test coverage detected