Skip to content

Commit 2e442f0

Browse files
committed
Delete : test_inf_values_with_warning_inf
1 parent cccf76e commit 2e442f0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

mapie/tests/test_utils.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -421,17 +421,6 @@ def test_inf_values() -> None:
421421
check_array_inf(np.array([1, 2, -np.inf, 4]))
422422

423423

424-
def test_inf_values_with_warning_inf() -> None:
425-
"""
426-
Test if array has infinite values like +inf or -inf
427-
"""
428-
with pytest.warns(
429-
UserWarning,
430-
match=r"Array contains infinite values."
431-
):
432-
check_array_inf(np.array([1, 2, -np.inf, 4]), warning_inf=True)
433-
434-
435424
def test_length() -> None:
436425
"""
437426
Test if the arrays have the same size (length)

0 commit comments

Comments
 (0)