Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST-#7064: Explicitly check for exceptions in test_groupby.py #7065

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Mar 12, 2024

What do these changes do?

  • first commit message and PR title follow format outlined here

    NOTE: If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves Explicitly check for exceptions in test_groupby.py #7064
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

…upby.py'

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@anmyachev anmyachev marked this pull request as ready for review March 12, 2024 12:48
@@ -2837,8 +2966,14 @@ def eval_rolling(md_window, pd_window):
eval_general(md_window, pd_window, lambda window: window.std())
eval_general(md_window, pd_window, lambda window: window.min())
eval_general(md_window, pd_window, lambda window: window.max())
eval_general(md_window, pd_window, lambda window: window.corr())
eval_general(md_window, pd_window, lambda window: window.cov())
# FIXME: identify error
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to identify the error in this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, done

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@anmyachev
Copy link
Collaborator Author

HDK tests need to be restarted

@@ -510,24 +526,85 @@ def maybe_get_columns(df, by):
pandas_groupby,
lambda df: df.nth(0).sort_values("col1").reset_index(drop=True),
)

raising_exceptions = None
if col1_category:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In all other cases there are no exceptions, right? I mean don't we hide the errors by setting raising_exceptions=None?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be the same answer like in #7067 (comment)

@YarShev YarShev merged commit 2714aa4 into modin-project:master Mar 12, 2024
37 checks passed
@anmyachev anmyachev deleted the issue7064 branch March 12, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explicitly check for exceptions in test_groupby.py
2 participants