Skip to content

Commit

Permalink
Skip test_sparse_categorical_model() test on Windows, see #100
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Oct 6, 2019
1 parent fe28d81 commit 505c809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/test_lightgbm_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def test_categorical_data(self):
use_quantize=use_quantize,
use_parallel_comp=use_parallel_comp)

@pytest.mark.skipif(os_platform() == 'windows', reason='MSVC cannot handle long if conditional')
def test_sparse_categorical_model(self):
"""
LightGBM is able to produce categorical splits directly, so that
Expand Down Expand Up @@ -148,4 +149,4 @@ def test_sparse_categorical_model(self):
multiclass=multiclass, use_annotation=None,
use_quantize=use_quantize,
use_parallel_comp=use_parallel_comp,
use_toolchains=['msvc' if os_platform() == 'windows' else 'gcc'])
use_toolchains=['gcc'])

0 comments on commit 505c809

Please sign in to comment.