Skip to content

Commit

Permalink
fix abs test
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Nov 17, 2023
1 parent eda9ba8 commit 2520b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/builtins/folding/test_abs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from vyper import ast as vy_ast
from vyper.builtins import functions as vy_fn
from vyper.exceptions import InvalidType, OverflowException
from vyper.exceptions import InvalidType


@pytest.mark.fuzzing
Expand Down Expand Up @@ -56,5 +56,5 @@ def test_abs_lower_bound_folded(get_contract, assert_tx_failed):
def foo() -> int256:
return abs(min_value(int256))
"""
with pytest.raises(OverflowException):
with pytest.raises(InvalidType):
get_contract(source)

0 comments on commit 2520b90

Please sign in to comment.