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 Bytes class to_json to return a string #121

Closed
wants to merge 1 commit into from

Conversation

olipratt
Copy link
Contributor

Fixes #120

There was already a test for this, but expecting the to_json method to return bytes, so I just altered it to expect a string, and decoded the output of base64.urlsafe_b64encode.

I ran the tests and they all passed on Python 3.5 - I'll let Travis test on other versions.

@mission-liao
Copy link
Member

mission-liao commented Apr 19, 2017

@olipratt I turned off the auto testing for PR on travis, and just switch it on, would you mind to close this PR and submit another again?

@olipratt
Copy link
Contributor Author

Sure thing!

@olipratt olipratt closed this Apr 19, 2017
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.

2 participants