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 BytesWarning with Python 3 #360

Merged
merged 1 commit into from
Oct 27, 2017
Merged

Fix BytesWarning with Python 3 #360

merged 1 commit into from
Oct 27, 2017

Conversation

ob-stripe
Copy link
Contributor

@ob-stripe ob-stripe commented Oct 27, 2017

r? @brandur-stripe
cc @stripe/api-libraries

Fixes #329.

As far as I can tell, it's not possible to enable BytesWarning programmatically. I had to add -bb -W error::BytesWarning directly to the command line invocations. This is what Python itself does for its own test suite because of this open issue.

@brandur-stripe
Copy link
Contributor

Thanks OB. I like the idea of making the test suite a little more strict too.

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.

None yet

2 participants