Skip to content

Commit

Permalink
catch import error
Browse files Browse the repository at this point in the history
  • Loading branch information
sonichi committed Oct 19, 2021
1 parent 29fac88 commit 7809ec1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,12 @@ def test_parallel_classification(self):

X, y = make_classification(1000, 10)
automl = AutoML()
automl.fit(X, y, time_budget=10, task="classification", n_concurrent_trials=2)
try:
automl.fit(
X, y, time_budget=10, task="classification", n_concurrent_trials=2
)
except ImportError:
return

def test_parallel_xgboost(self, hpo_method=None):
automl_experiment = AutoML()
Expand Down

0 comments on commit 7809ec1

Please sign in to comment.