Skip to content

test: replace bare asserts with assertion helpers in wallet_backwards_compatibility.py - #34753

Closed
Bortlesboat wants to merge 1 commit into
bitcoin:masterfrom
Bortlesboat:test-replace-bare-asserts-wallet-backwards-compatibility
Closed

Bortlesboat wants to merge 1 commit into
bitcoin:masterfrom
Bortlesboat:test-replace-bare-asserts-wallet-backwards-compatibility

Conversation

@Bortlesboat

Copy link
Copy Markdown
Contributor

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.

…_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 DrahtBot added the Tests label Mar 6, 2026
@DrahtBot

DrahtBot commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

@l0rinc

l0rinc commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Please don't to it file-by-file, if you insist on doing this, make it a scripted-diff across multiple files.

@Bortlesboat

Copy link
Copy Markdown
Contributor Author

Closing per l0rinc's feedback — will consolidate bare-assert replacements into a single scripted-diff PR across multiple test files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants