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
feat: removed escape of forward slash in json files #2005
Conversation
Pull Request Test Coverage Report for Build f0845d44-c5b9-48fd-8d44-930698ffd07c
💛 - Coveralls |
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.
Thanks
dumped = JSON_Handler().dumps({'url': url}) | ||
assert url in dumped, 'Could not find the url im the dumped file. Maybe escaped char?' | ||
|
||
def test_no_escape_chars_dump(self, tmpdir): |
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.
Change function name
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.
that is exactly what the test does
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.
test_no_escape_chars_file_dump
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.
dump != dumps
it's pretty petty.
Status
Related Issues
fixes: ultrajson/ultrajson#110
Description
a forward slash was esacpped, fixed it.
Screenshots
Paste here any images that will help the reviewer
Must have