Skip to content

Commit

Permalink
fix: missing not None check
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 16, 2023
1 parent 878da48 commit 9754a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa/vyper/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ def _check(cond, msg=""):
_check(
err == frame.pretty_vm_reason
or err == frame.error_detail
or err == frame.dev_reason.reason_str,
"does not match {args}",
or (frame.dev_reason and err == frame.dev_reason.reason_str),
f"does not match {args}",
)
return

Expand Down

0 comments on commit 9754a14

Please sign in to comment.