Skip to content

Commit b2410ae

Browse files
committed
[BUG] Fix assertion in error in assert_debug_log
1 parent 3fe7d52 commit b2410ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/test_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def assert_debug_log(self, expected_msgs):
223223
print_log = " - " + "\n - ".join(log.splitlines())
224224
for expected_msg in expected_msgs:
225225
if re.search(re.escape(expected_msg), log, flags=re.MULTILINE) is None:
226-
self._raise_assertion_error('Expected message "{}" does not partially match log:\n\n{}\n\n'.format(expected_msg, print_log))
226+
raise AssertionError('Expected message "{}" does not partially match log:\n\n{}\n\n'.format(expected_msg, print_log))
227227

228228
def node_encrypt_wallet(self, passphrase):
229229
""""Encrypts the wallet.

0 commit comments

Comments
 (0)