Skip to content

Commit

Permalink
modin.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Dec 29, 2023
1 parent 1880325 commit b9431ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/test_with_modin.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import numpy as np
import pytest
from test_dmatrix import set_base_margin_info

import xgboost as xgb
from xgboost import testing as tm
from xgboost.testing.data import run_base_margin_info

try:
import modin.pandas as md
Expand Down Expand Up @@ -145,4 +145,4 @@ def test_modin_weight(self):
np.testing.assert_array_equal(data.get_weight(), w)

def test_base_margin(self):
set_base_margin_info(md.DataFrame, xgb.DMatrix, "hist")
run_base_margin_info(md.DataFrame, xgb.DMatrix, "cpu")

0 comments on commit b9431ac

Please sign in to comment.