-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: add a test on mixed offsets for read_csv #54245
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
TST: add a test on mixed offsets for read_csv #54245
Conversation
test looks good, but I think |
Thanks, I moved the test as you suggested. |
@@ -2237,3 +2237,17 @@ def test_parse_dates_arrow_engine(all_parsers): | |||
} | |||
) | |||
tm.assert_frame_equal(result, expected) | |||
|
|||
|
|||
def test_from_csv_with_mixed_offsets(): |
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.
does it work to use the
parser = all_parsers
and then
parser.read_csv
pattern from the other tests in this file?
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.
Yes, it works very well, except pyarrow
. I added @xfail_pyarrow
.
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.
looks good to me on green
Thank you for reviewing this PR. |
* TST: add a test on mixed offsets for read_csv * change the location of the test * add parser to the test
* TST: add a test on mixed offsets for read_csv * change the location of the test * add parser to the test Co-authored-by: Natalia Mokeeva <[email protected]>
* TST: add a test on mixed offsets for read_csv * change the location of the test * add parser to the test
* TST: add a test on mixed offsets for read_csv * change the location of the test * add parser to the test Co-authored-by: Natalia Mokeeva <[email protected]>
xref #54014
added a test on mixed offsets to increase coverage for
read_csv