We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3da6c commit 3127c66Copy full SHA for 3127c66
tests/python/test_updaters.py
@@ -411,12 +411,6 @@ def get_score(config: Dict) -> float:
411
412
assert get_score(config_0) == get_score(config_1)
413
414
- with pytest.warns(Warning, match="Model format is default to UBJSON"):
415
- raw_booster = booster_1.save_raw(raw_format="deprecated")
416
- booster_2 = xgb.Booster(model_file=raw_booster)
417
- config_2 = json.loads(booster_2.save_config())
418
- assert get_score(config_1) == get_score(config_2)
419
-
420
raw_booster = booster_1.save_raw(raw_format="ubj")
421
booster_2 = xgb.Booster(model_file=raw_booster)
422
config_2 = json.loads(booster_2.save_config())
0 commit comments