Convert input to str for hypothesis note. (#9480)

This commit is contained in:
Jiaming Yuan
2023-08-15 02:27:58 +08:00
committed by GitHub
parent e3f624d8e7
commit 19b59938b7
4 changed files with 12 additions and 12 deletions

View File

@@ -187,7 +187,7 @@ def run_gpu_hist(
num_boost_round=num_rounds,
evals=[(m, "train")],
)["history"]["train"][dataset.metric]
note(history)
note(str(history))
# See note on `ObjFunction::UpdateTreeLeaf`.
update_leaf = dataset.name.endswith("-l1")