Skip to content

Commit

Permalink
Fixed test to match thrown exception
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-echeverria committed Dec 6, 2023
1 parent 02ddcf1 commit 5d0cdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/value/types/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ def test_get_invalid_position():

array = Array(m, [1.1, 2.2, 3.3])

with pytest.raises(RuntimeError):
with pytest.raises(IndexError):
_ = array.get_as_real(5)

0 comments on commit 5d0cdee

Please sign in to comment.