-
Notifications
You must be signed in to change notification settings - Fork 169
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
StringIO/BytesIO works for text data #364
Conversation
@@ -25,27 +26,56 @@ def setUpClass(cls): | |||
] | |||
cls.output_file_path = None | |||
|
|||
cls.buffer_list = [] |
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 have one concern, are any of the above not utf-8 / ascii?
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.
Maybe should be in a follow-up PR to fix as I can see this having issues if encoding is not detected and appropriately selected.
|
||
def test_is_match(self): | ||
""" | ||
Determine if the json file can be automatically identified from |
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.
This says "json" I'm guessing this was a copy paste error
Head branch was pushed to by a user without write access
* StringIO/BytesIO works for text data * Changed comments
Added tests for testing StringIO/BytesIO for TextData class