File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
modin/tests/pandas/native_df_interoperability Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ def create_test_df_in_defined_mode(
4545
4646 if not isinstance (native , bool ):
4747 raise ValueError ("`native` should be True or False." )
48+
49+ # Use the default backend unless native
4850 hybrid_backend = "Pandas" if native else Backend .get ()
4951 with switch_to_native_execution () if native else nullcontext ():
5052 with config_context (AutoSwitchBackend = False , Backend = hybrid_backend ):
@@ -62,6 +64,7 @@ def create_test_series_in_defined_mode(
6264 if not isinstance (native , bool ):
6365 raise ValueError ("`native` should be True or False." )
6466
67+ # Use the default backend unless native
6568 hybrid_backend = "Pandas" if native else Backend .get ()
6669 with switch_to_native_execution () if native else nullcontext ():
6770 with config_context (AutoSwitchBackend = False , Backend = hybrid_backend ):
You can’t perform that action at this time.
0 commit comments