-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: windows with TemporaryFile an read_csv #13398 #13481
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d8decae
#13398
mbrucher 5af8465
Adding a test with Python engine
mbrucher 119fb65
Added reference to original issue in the test + test the result itsel…
mbrucher 98e476e
Using same way of referencing as just above, consistency.
mbrucher fd20aaf
Moved the test to the Python parser test file
mbrucher d8ceb57
lint changes
mbrucher 1c33fb5
Simplified test and added what's new note.
mbrucher aa3f0aa
lint change
mbrucher 5871625
Grammar
mbrucher 0d54151
Simplified
mbrucher 8b52631
Yet another small update for more general regex
mbrucher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
No need to import
read_table
for this.read_csv
andread_table
are absolutely identical (except for the default delimiter), andread_csv
will also trigger this error.You should check the result of the
read_
operation to make sure you aren't getting garbage out.Make reference the issue (the one you raised) under the
def ...
statement4) Do not specifyengine='python'
- we want to test that both the C and Python engines both work withTemporaryFile
, even though the issue was specific to the Python engine. This is better coverage.sep
, move the test intopython_parser_only.py
- I forgot that initially when I said thatcommon.py
was the right place to go.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.
You meqn reference the issue in the test (comment)?
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.
Exactly:
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.
Are those tests run? They all fail when called explicitely (and they should).
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, they do. If you look at
test_parsers.py
, all of them get imported as test cases.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.
Some of the errors I get:
And they are proper issues in the test file.