Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better "assert_ok" exception #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drortirosh
Copy link
Contributor

when "assert_ok" fails, instead of:
FAILED ... - AttributeError: expected result object, got:

we get concrete error, e.g.:
FAILED ... - AssertionError: ('account uses banned opcode: GAS', -32502)

when "assert_ok" fails, instead of:
FAILED ... - AttributeError: expected result object, got:

we get concrete error, e.g.:
FAILED ... - AssertionError: ('account uses banned opcode: GAS', -32502)
@drortirosh drortirosh force-pushed the better-assert-ok-exception branch from 8bc17a6 to 8fcd387 Compare December 16, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant