Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Disabled tests that only fail on Mac Py2.7 due to string encoding/dec… #391

Merged
merged 3 commits into from
Dec 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/python/nimbusml/tests/ensemble/test_lightgbmclassifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License.
# --------------------------------------------------------------------------------------------

import os
import platform
import unittest

import numpy as np
Expand All @@ -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()
Expand Down