Skip to content

Commit 7deb959

Browse files
committed
Minor comment inline
1 parent 8b141f9 commit 7deb959

File tree

1 file changed

+3
-0
lines changed
  • modin/tests/pandas/native_df_interoperability

1 file changed

+3
-0
lines changed

modin/tests/pandas/native_df_interoperability/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)