Skip to content

Commit

Permalink
change 'repr()' -> 'try_cast_to_pandas()'
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
  • Loading branch information
dchigarev committed Aug 8, 2023
1 parent 624b306 commit 997bd3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modin/test/storage_formats/pandas/test_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from modin.config import NPartitions, Engine, MinPartitionSize, ExperimentalGroupbyImpl
from modin.distributed.dataframe.pandas import from_partitions
from modin.core.storage_formats.pandas.utils import split_result_of_axis_func_pandas
from modin.utils import try_cast_to_pandas

import numpy as np
import pandas
Expand Down Expand Up @@ -1106,6 +1107,6 @@ def test_groupby_size_shuffling(modify_config):
"_apply_func_to_range_partitioning",
wraps=modin_frame._apply_func_to_range_partitioning,
) as shuffling_method:
repr(df.groupby("a").size())
try_cast_to_pandas(df.groupby("a").size())

shuffling_method.assert_called()

0 comments on commit 997bd3f

Please sign in to comment.