Skip to content

Commit 3127c66

Browse files
committed
adaptive test.
1 parent 5b3da6c commit 3127c66

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/python/test_updaters.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,6 @@ def get_score(config: Dict) -> float:
411411

412412
assert get_score(config_0) == get_score(config_1)
413413

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-
420414
raw_booster = booster_1.save_raw(raw_format="ubj")
421415
booster_2 = xgb.Booster(model_file=raw_booster)
422416
config_2 = json.loads(booster_2.save_config())

0 commit comments

Comments
 (0)