-
Notifications
You must be signed in to change notification settings - Fork 915
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
Remove deprecated code. #10450
Remove deprecated code. #10450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. All looks good to me, though one test needs to be fixed (a separate PR might be best).
@@ -4540,9 +4539,6 @@ def test_empty_df_astype(dtype, args): | |||
), | |||
pytest.param("other", marks=pytest.mark.xfail(raises=ValueError)), | |||
"ignore", | |||
pytest.param( | |||
"warn", marks=pytest.mark.filterwarnings("ignore:Traceback") | |||
), | |||
], | |||
) | |||
def test_series_astype_error_handling(errors): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test shouldn't use xfail
for "raise"
or "other"
. We should ensure the appropriate error is raised with pytest.raises
instead of just permitting the test to fail. This can be done in a separate PR if desired, since this PR is strictly removing deprecated features.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, I'll keep this in mind for future work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also... why is this test (of Series) in test_dataframe.py...
CI failures are from 22.06 images that probably don't exist yet:
|
Yeah I don't expect this to pass for a while. We'll need new images and for ops to set up the whole pipeline for 22.06. I just opened the PR so that I could base future work on this branch. |
rerun tests |
3 similar comments
rerun tests |
rerun tests |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #10450 +/- ##
===============================================
Coverage ? 86.31%
===============================================
Files ? 140
Lines ? 22312
Branches ? 0
===============================================
Hits ? 19259
Misses ? 3053
Partials ? 0 Continue to review full report at Codecov.
|
@gpucibot merge |
This PR removes various pieces of deprecated code. These removals are also helpful for certain ongoing refactoring tasks.
Resolves #10166
Resolves #9316