Skip to content

Commit 6bbb59c

Browse files
UPD: add nan value in test
1 parent f1e4899 commit 6bbb59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapie/tests/test_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ def test_pred_loof_isnan() -> None:
16571657
@pytest.mark.parametrize("strategy", [*STRATEGIES])
16581658
def test_pipeline_compatibility(strategy: str) -> None:
16591659
"""Check that MAPIE works on pipeline based on pandas dataframes"""
1660-
X = np.random.randint(0, 100, size=100)
1660+
X = np.concatenate([np.random.randint(0, 100, size=99), [np.nan]])
16611661
X_cat = np.random.choice(["A", "B", "C"], size=X.shape[0])
16621662
X = pd.DataFrame(
16631663
{

0 commit comments

Comments
 (0)