File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
modin/tests/pandas/dataframe Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4343 udf_func_keys ,
4444 udf_func_values ,
4545)
46- from modin .tests .test_utils import warns_that_defaulting_to_pandas
46+ from modin .tests .test_utils import (
47+ current_execution_is_native ,
48+ warns_that_defaulting_to_pandas_if ,
49+ )
4750from modin .utils import get_current_execution
4851
4952NPartitions .put (4 )
@@ -126,10 +129,10 @@ def test_aggregate_alias():
126129def test_aggregate_error_checking ():
127130 modin_df = pd .DataFrame (test_data ["float_nan_data" ])
128131
129- with warns_that_defaulting_to_pandas ( ):
132+ with warns_that_defaulting_to_pandas_if ( not current_execution_is_native () ):
130133 modin_df .aggregate ({modin_df .columns [0 ]: "sum" , modin_df .columns [1 ]: "mean" })
131134
132- with warns_that_defaulting_to_pandas ( ):
135+ with warns_that_defaulting_to_pandas_if ( not current_execution_is_native () ):
133136 modin_df .aggregate ("cumproduct" )
134137
135138
You can’t perform that action at this time.
0 commit comments