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

Address PytestReturnNotNoneWarning in cuml tests #5819

Conversation

mroeschke
Copy link
Contributor

@mroeschke mroeschke commented Mar 22, 2024

Appears in the future pytest will raise when a test function returns a non None value. There was 2 tests that had this pattern and adjusted the tests as appropriate.

@mroeschke mroeschke requested a review from a team as a code owner March 22, 2024 20:52
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Mar 22, 2024
@vyasr
Copy link
Contributor

vyasr commented Apr 4, 2024

This is blocked on #5815

rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Apr 8, 2024
I was looking through some dask-related test failures in rapidsai/cuml#5819 and noticed that the "p2p" shuffle is causing some problems when query-planning is enabled. This PR sets the global default to "tasks". It *may* make sense to roll back this change once we fix the underlying problem(s), but I doubt it.

Authors:
  - Richard (Rick) Zamora (https://github.com/rjzamora)

Approvers:
  - Peter Andreas Entschev (https://github.com/pentschev)
  - GALI PREM SAGAR (https://github.com/galipremsagar)

URL: #15469
@bdice bdice added bug Something isn't working non-breaking Non-breaking change improvement Improvement / enhancement to an existing function and removed bug Something isn't working labels Apr 12, 2024
@bdice
Copy link
Contributor

bdice commented Apr 13, 2024

/merge

@rapids-bot rapids-bot bot merged commit 6a08a60 into rapidsai:branch-24.06 Apr 13, 2024
58 checks passed
@mroeschke mroeschke deleted the test/fail/PytestReturnNotNoneWarning branch April 13, 2024 00:47
rapids-bot bot pushed a commit that referenced this pull request Apr 30, 2024
Similar to #5819, pytest functions should not `return` and seems unneeded in this test

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #5875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants