Skip to content

Commit

Permalink
Refactor function handling if checks in distributed_analysis.py part 1 (
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsantn authored Jan 13, 2025
1 parent 6f19f08 commit 9974ea1
Show file tree
Hide file tree
Showing 3 changed files with 1,502 additions and 970 deletions.
4 changes: 2 additions & 2 deletions bodo/tests/test_dataframe_part1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ def test_df_rename_all_types(df_value, memory_leak_check):
"""

def test_impl(df):
df.rename(columns={"A": "first", "B": "second"})
return df.rename(columns={"A": "first", "B": "second"})

check_func(test_impl, (df_value,))

Expand All @@ -1289,7 +1289,7 @@ def test_df_rename_mapper_all_types(df_value, memory_leak_check):
"""

def test_impl(df):
df.rename({"A": "first", "B": "second"}, axis=1)
return df.rename({"A": "first", "B": "second"}, axis=1)

check_func(test_impl, (df_value,))

Expand Down
Loading

0 comments on commit 9974ea1

Please sign in to comment.