From cb481049abd490d53e8064fc6ca7902948a30138 Mon Sep 17 00:00:00 2001 From: Hubert Baniecki Date: Wed, 22 May 2024 14:17:17 +0200 Subject: [PATCH] [python] potential fix for gh-actions --- python/dalex/test/test_arena_classification.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/dalex/test/test_arena_classification.py b/python/dalex/test/test_arena_classification.py index c361dd36..54d56e48 100644 --- a/python/dalex/test/test_arena_classification.py +++ b/python/dalex/test/test_arena_classification.py @@ -1,4 +1,5 @@ import unittest +import sys from plotly.graph_objs import Figure from sklearn.compose import ColumnTransformer @@ -59,6 +60,7 @@ def setUp(self): FairnessCheckContainer, ShapleyValuesDependenceContainer, ShapleyValuesVariableImportanceContainer, VariableAgainstAnotherContainer, VariableDistributionContainer] + @unittest.skipIf(sys.platform.startswith("win"), "requires Windows") def test_supported_plots(self): arena = dx.Arena() arena.push_model(self.exp) @@ -72,6 +74,7 @@ def test_supported_plots(self): except Exception: pass + @unittest.skipIf(sys.platform.startswith("win"), "requires Windows") def test_server(self): arena = dx.Arena() arena.push_model(self.exp) @@ -90,6 +93,7 @@ def test_server(self): except Exception: pass + @unittest.skipIf(sys.platform.startswith("win"), "requires Windows") def test_plots(self): arena = dx.Arena() arena.push_model(self.exp) @@ -106,6 +110,7 @@ def test_plots(self): except Exception: pass + @unittest.skipIf(sys.platform.startswith("win"), "requires Windows") def test_observation_attributes(self): arena = dx.Arena() arena.push_model(self.exp) @@ -123,6 +128,7 @@ def test_observation_attributes(self): except Exception: pass + @unittest.skipIf(sys.platform.startswith("win"), "requires Windows") def test_variable_attributes(self): arena = dx.Arena() arena.push_model(self.exp)