-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: fix feather test #31791
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
CI: fix feather test #31791
Conversation
pandas/tests/io/test_common.py
Outdated
# Encountered in feather 2020-02-07 | ||
fr"\[Errno 2\] Failed to open local file '.*does_not_exist\.{fn_ext}'. " | ||
r"Detail: \[errno 2] 没有那个文件或目录" | ||
) |
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.
Or we can just stop testing the message here?
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.
i would be on board for that, cc @MomIsBestFriend looks like there is a new external_error_raised; is that for roughly this purpose?
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.
i would be on board for that, cc @MomIsBestFriend looks like there is a new external_error_raised; is that for roughly this purpose?
@jbrockmendel Yes, exactly!
updated to use external_error_raised. Do we want to check anything about the message being reasonable? |
I don't think we do, as this is an external error message. |
Thanks @jbrockmendel yea I don't think we need to test for 8 different messages! |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
Hmm I guess that helper isn't available on the 1.0.x branch |
why exactly was this merged @WillAyd @jbrockmendel @jorisvandenbossche was this fixing a CI issue? it is not about testing for the error messages, but the fact that the error messages are different that is extremely troubling. This is de-facto removing legitimate tests. |
Yea looks to have failed CI |
I think alternately would have to add a 9th error message to test for with current design; maybe should break up and test error message specifically by reader? |
msg4 doesn't look like an external message. should external_error_raised fail this? @MomIsBestFriend |
not at a computer to check though. so could be external. just looks like one of ours. |
Yes, I think that is the only one raised by ourselves (it's "path_or_buf needs to be a string file path or file-like"). But it's actually also a wrong error message we were testing .. as what is passed is a string file path) |
@simonjayhawkins It does not check for whether or not this is an actual external error message. |
No description provided.