From 5d0cdee1c618f129a74c32948d36b52c1ac2f33c Mon Sep 17 00:00:00 2001 From: Sebastian Echeverria Date: Wed, 6 Dec 2023 12:42:54 -0500 Subject: [PATCH] Fixed test to match thrown exception --- test/value/types/test_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/value/types/test_array.py b/test/value/types/test_array.py index 3123d216..5c9ed422 100644 --- a/test/value/types/test_array.py +++ b/test/value/types/test_array.py @@ -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)