update got version (#607)

* update got version

* None check
This commit is contained in:
Chi Wang
2022-06-23 08:02:46 -07:00
committed by GitHub
parent fefdb48ef3
commit 4377d53a73
2 changed files with 3 additions and 4 deletions

View File

@@ -89,7 +89,8 @@ class TestTrainingLog(unittest.TestCase):
automl_settings["log_file_name"] = ""
automl.fit(X_train=X_train, y_train=y_train, **automl_settings)
automl._selected.update(None, 0)
if automl._selected:
automl._selected.update(None, 0)
automl = AutoML()
automl.fit(X_train=X_train, y_train=y_train, max_iter=0, task="regression")