-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
add unit test for writing to already open file #21696
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
add unit test for writing to already open file #21696
Conversation
Codecov Report
@@ Coverage Diff @@
## master #21696 +/- ##
=======================================
Coverage 91.9% 91.9%
=======================================
Files 154 154
Lines 49657 49657
=======================================
Hits 45638 45638
Misses 4019 4019
Continue to review full report at Codecov.
|
y | ||
z | ||
''' | ||
with tm.ensure_clean('test.txt') as path: |
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 parameterize this with flush (both on and off), or does this matter?
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 don't think this matters.
does this close #21577 - is this a bug? or is it fixed by the recent fixed regression in to_csv? |
thanks @jdrudolph |
git diff upstream/master -u -- "*.py" | flake8 --diff
closes #21577
The added unit test will pass for
0.23.0
, fails for0.23.1
, passes formaster
.