-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: Add to_csv test when writing the single column CSV #19091
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 to_csv test when writing the single column CSV #19091
Conversation
def test_to_csv_with_single_column(self): | ||
# GH18676 | ||
df1 = DataFrame([None, 1], | ||
header=None, |
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.
Oops. I think you've been in CSV-land for too long? 😄
@Licht-T : Overall, well done on patching this bug in its entirety across multiple repositories! |
863c59e
to
5c4eba5
Compare
Codecov Report
@@ Coverage Diff @@
## master #19091 +/- ##
==========================================
- Coverage 91.61% 91.59% -0.03%
==========================================
Files 150 150
Lines 48807 48807
==========================================
- Hits 44716 44704 -12
- Misses 4091 4103 +12
Continue to review full report at Codecov.
|
Re-commit because of the CI falure |
5c4eba5
to
fd6fd13
Compare
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.
minor comment
@@ -9,6 +10,30 @@ | |||
|
|||
class TestToCSV(object): | |||
|
|||
@pytest.mark.xfail((3, 6, 5) > sys.version_info >= (3, 5), | |||
reason='Python csv library bug') |
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.
can you put a reference to the bug, and a comment on what it is
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.
Done.
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.
can you also add the link to the xfail reason
can you rebase / update |
@jreback : I can carry this to the finish line. |
fd6fd13
to
bcda52d
Compare
@@ -9,6 +10,30 @@ | |||
|
|||
class TestToCSV(object): | |||
|
|||
@pytest.mark.xfail((3, 6, 5) > sys.version_info >= (3, 5), | |||
reason='Python csv library bug') |
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.
can you also add the link to the xfail reason
thanks @gfyoung tiny comment. pls fix and merge away |
bcda52d
to
c8dd813
Compare
@jreback : Done. Will wait until green before merging. |
Alright, all is green. Merging this. |
Thanks @Licht-T for your hard work on tracking this down! |
git diff upstream/master -u -- "*.py" | flake8 --diff