Skip to content

Commit

Permalink
Disable broken 'BaseOnPython' tests
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 Nov 18, 2021
1 parent 40885a3 commit bf042ca
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions modin/pandas/test/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,11 +1216,16 @@ def eval_shift(modin_groupby, pandas_groupby):
pandas_groupby,
lambda groupby: groupby.shift(periods=-3),
)
eval_general(
modin_groupby,
pandas_groupby,
lambda groupby: groupby.shift(axis=1, fill_value=777),
)
# Disabled for `BaseOnPython` because of the issue with `getitem_array`.
# groupby.shift internally masks the source frame with a Series boolean mask,
# doing so ends up in the `getitem_array` method, that is broken for `BaseOnPython`:
# https://github.com/modin-project/modin/issues/3701
if get_current_execution() != "BaseOnPython":
eval_general(
modin_groupby,
pandas_groupby,
lambda groupby: groupby.shift(axis=1, fill_value=777),
)


def test_groupby_on_index_values_with_loop():
Expand Down

0 comments on commit bf042ca

Please sign in to comment.