-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: Assert json roundtrip equal #28626
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
REF: Assert json roundtrip equal #28626
Conversation
Add assert_json_roundtrip_equal function to make repeated pattern modular
Replaced repeated code with calls to assert_json_roundtrip_equal
This is really nice, thanks. Looks like the linter is finding trailing whitespace that you need to delete |
Remove trailing whitespace
Remove trailing whitespace
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 think test_roundtrip_intframe
is the one outstanding - can you use this function therein as well? After that lgtm can get this merged - thanks for the PR!
Thank you, yes. I will do that now. |
Remove whitespace
Thanks @bganglia nice PR and great first contribution. Would welcome more PRs to tackle other issues! |
Replaces a some frequently repeated lines with a function.
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff