-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: Add another test for segfault in C engine #18128
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18128 +/- ##
==========================================
+ Coverage 91.25% 91.26% +<.01%
==========================================
Files 163 163
Lines 50122 50122
==========================================
+ Hits 45740 45743 +3
+ Misses 4382 4379 -3
Continue to review full report at Codecov.
|
@@ -359,6 +359,15 @@ def test_parse_trim_buffers(self): | |||
# Check for data corruption if there was no segfault | |||
tm.assert_frame_equal(result, expected) | |||
|
|||
# This extra test was added to replicate the fault in gh-5291. |
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.
worth making a different test for this?
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 think the whole point was to check whether or not the encoding argument would make a difference (notice that the calls are nearly the same). That's why I added them as such.
ok this is fine merge away |
xref pandas-devgh-13833. Closes pandas-devgh-5291. (cherry picked from commit 6f0ff1a)
Not sure why the original PR was closed, but let's bring it to completion.
xref #13833.
Closes #5291.