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

Fix test suites failing with simplejson. #584

Merged
merged 1 commit into from
Oct 6, 2016
Merged

Fix test suites failing with simplejson. #584

merged 1 commit into from
Oct 6, 2016

Conversation

Natureshadow
Copy link
Contributor

We should use the same branch here as Flask does in its json code. I
have verified the BetterJSONEncoder derivative to work with both
libraries.

This fixes #583.

We should use the same branch here as Flask does in its json code. I
have verified the BetterJSONEncoder derivative to work with both
libraries.
Copy link
Owner

@jfinkels jfinkels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic! But I'd like to also add a line to the Travis build configuration that tests for simplejson being installed (and selected by Flask). If you can figure that out, that would be great, but if not I'll just create a new pull request that builds on this one.

@jfinkels jfinkels mentioned this pull request Sep 19, 2016
@Natureshadow
Copy link
Contributor Author

I'm not sure what you want to achieve with this test. Can you elaborate on it a bit more?

@jfinkels
Copy link
Owner

I added the test myself in pull request #587; see the Travis builds there, there is now one test for each Python version that installs simplejson before running the tests.

@jfinkels jfinkels merged commit 986aa37 into jfinkels:master Oct 6, 2016
@jfinkels
Copy link
Owner

jfinkels commented Oct 6, 2016

I have merged your commit via pull request #587. Thank you!

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.

BetterJSONEncoder in tests is not simplejson
2 participants