Skip to content

Commit

Permalink
Merge pull request #4355 from wphicks/bug-xfail_hellinger
Browse files Browse the repository at this point in the history
Mark Hellinger sparse test as xfail
  • Loading branch information
jjacobelli authored Nov 11, 2021
2 parents 6885d39 + 37c8e81 commit 69621b8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion python/cuml/test/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,18 @@ def test_sparse_pairwise_distances_exceptions():
sparse_pairwise_distances(X, Y, metric="euclidean")


@pytest.mark.parametrize("metric", PAIRWISE_DISTANCE_SPARSE_METRICS.keys())
@pytest.mark.parametrize(
"metric", [
metric if metric != 'hellinger'
else pytest.param(
metric,
marks=pytest.mark.xfail(
reason="intermittent failure (Issue #4354)"
)
)
for metric in PAIRWISE_DISTANCE_SPARSE_METRICS.keys()
]
)
@pytest.mark.parametrize("matrix_size,density", [
unit_param((1000, 100), 0.4),
unit_param((20, 10000), 0.01),
Expand Down

0 comments on commit 69621b8

Please sign in to comment.