Skip to content
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

Merged
merged 3 commits into from
Jul 28, 2021

Conversation

gautomdas
Copy link
Contributor

@gautomdas gautomdas commented Jul 27, 2021

Added tests for testing StringIO/BytesIO for TextData class

@@ -25,27 +26,56 @@ def setUpClass(cls):
]
cls.output_file_path = None

cls.buffer_list = []
Copy link
Contributor

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?

Copy link
Contributor

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.

@JGSweets JGSweets enabled auto-merge (squash) July 27, 2021 21:06
JGSweets
JGSweets previously approved these changes Jul 27, 2021

def test_is_match(self):
"""
Determine if the json file can be automatically identified from
Copy link
Contributor

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

auto-merge was automatically disabled July 28, 2021 15:04

Head branch was pushed to by a user without write access

@JGSweets JGSweets enabled auto-merge (squash) July 28, 2021 15:07
@JGSweets JGSweets merged commit 345b8fb into capitalone:main Jul 28, 2021
stevensecreti pushed a commit to stevensecreti/DataProfiler that referenced this pull request Jun 15, 2022
* StringIO/BytesIO works for text data

* Changed comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants