diff --git a/src/python/nimbusml/tests/ensemble/test_lightgbmclassifier.py b/src/python/nimbusml/tests/ensemble/test_lightgbmclassifier.py index addc22fd..16442dff 100644 --- a/src/python/nimbusml/tests/ensemble/test_lightgbmclassifier.py +++ b/src/python/nimbusml/tests/ensemble/test_lightgbmclassifier.py @@ -19,6 +19,10 @@ class TestLightGbmClassifier(unittest.TestCase): + @unittest.skipIf(platform.system() == "Darwin" and six.PY2, + "Disabled due to bug on Mac Python 2.7 build, more info: \ + https://github.com/microsoft/NimbusML/issues/366, \ + https://github.com/microsoft/NimbusML/pull/362") def test_lightgbmclassifier(self): np.random.seed(0) train_file = get_dataset('wiki_detox_train').as_filepath() diff --git a/src/python/nimbusml/tests/feature_extraction/text/test_ngramfeaturizer.py b/src/python/nimbusml/tests/feature_extraction/text/test_ngramfeaturizer.py index 2f3ddd9a..21ad6c12 100644 --- a/src/python/nimbusml/tests/feature_extraction/text/test_ngramfeaturizer.py +++ b/src/python/nimbusml/tests/feature_extraction/text/test_ngramfeaturizer.py @@ -3,7 +3,7 @@ # Licensed under the MIT License. # -------------------------------------------------------------------------------------------- -import os +import platform import unittest import numpy as np @@ -18,6 +18,10 @@ class TestNGramFeaturizer(unittest.TestCase): + @unittest.skipIf(platform.system() == "Darwin" and six.PY2, + "Disabled due to bug on Mac Python 2.7 build, more info: \ + https://github.com/microsoft/NimbusML/issues/366, \ + https://github.com/microsoft/NimbusML/pull/362") def test_ngramfeaturizer(self): np.random.seed(0) train_file = get_dataset('wiki_detox_train').as_filepath()