Skip to content

Commit

Permalink
some skipiff added
Browse files Browse the repository at this point in the history
  • Loading branch information
iwan-tee committed Apr 16, 2024
1 parent 4ab46ad commit e431803
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_Explainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def test_explainers(data, request, classifier, mode):


@pytest.mark.skipif(not shap_installed, reason="shap not installed")
@pytest.mark.skipif(not xarray_installed, reason="xarray not installed")
@pytest.mark.parametrize(
"classifier",
[LocalClassifierPerLevel, LocalClassifierPerParentNode, LocalClassifierPerNode],
Expand All @@ -281,6 +282,7 @@ def test_filter_by_level(data, request, classifier):


@pytest.mark.skipif(not shap_installed, reason="shap not installed")
@pytest.mark.skipif(not xarray_installed, reason="xarray not installed")
@pytest.mark.parametrize(
"classifier",
[LocalClassifierPerLevel, LocalClassifierPerParentNode, LocalClassifierPerNode],
Expand Down Expand Up @@ -316,6 +318,7 @@ def test_filter_by_class(data, request, classifier):


@pytest.mark.skipif(not shap_installed, reason="shap not installed")
@pytest.mark.skipif(not xarray_installed, reason="xarray not installed")
@pytest.mark.parametrize(
"classifier",
[LocalClassifierPerLevel, LocalClassifierPerParentNode, LocalClassifierPerNode],
Expand Down

0 comments on commit e431803

Please sign in to comment.