Replace 10 bare assert statements that use equality and greater-than
comparisons with assert_equal() and assert_greater_than() for better
failure diagnostics when tests fail.
test: replace bare asserts with assertion helpers in wallet_backwards_compatibility.py #34753
pull Bortlesboat wants to merge 1 commits into bitcoin:master from Bortlesboat:test-replace-bare-asserts-wallet-backwards-compatibility changing 1 files +10 −10-
Bortlesboat commented at 12:15 PM on March 6, 2026: none
-
a2a9db8e36
test: replace bare asserts with assertion helpers in wallet_backwards_compatibility.py
Replace 10 bare assert statements that use equality and greater-than comparisons with assert_equal() and assert_greater_than() for better failure diagnostics.
- DrahtBot added the label Tests on Mar 6, 2026
-
DrahtBot commented at 12:15 PM on March 6, 2026: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
-
l0rinc commented at 1:45 PM on March 6, 2026: contributor
Please don't to it file-by-file, if you insist on doing this, make it a scripted-diff across multiple files.
-
Bortlesboat commented at 5:49 PM on March 6, 2026: none
Closing per l0rinc's feedback — will consolidate bare-assert replacements into a single scripted-diff PR across multiple test files.
- Bortlesboat closed this on Mar 6, 2026