Make test for categorical data deterministic. (#8080)

This commit is contained in:
Jiaming Yuan
2022-07-15 14:48:39 +08:00
committed by GitHub
parent dae7a41baa
commit 647d3844dd
2 changed files with 6 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ class TestGPUUpdaters:
def test_categorical_missing(self, rows, cols, cats):
self.cputest.run_categorical_missing(rows, cols, cats, "gpu_hist")
@pytest.mark.skipif(**tm.no_pandas())
def test_max_cat(self) -> None:
self.cputest.run_max_cat("gpu_hist")