-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Tests: USB: Fix Python 3 compatibility #11546
Tests: USB: Fix Python 3 compatibility #11546
Conversation
@fkjagodzinski, thank you for your changes. |
CI started |
Test run: SUCCESSSummary: 4 of 4 test jobs passed |
@fkjagodzinski What shall we do with six, do you want to update it and use it here? |
This version provides a few handy functions: six.ensure_binary, six.ensure_text, and six.ensure_str.
Use integer division explicitly in basic test. Convert bytes to str for Python 3 in serial test.
96581ff
to
2b4b64f
Compare
I decided to update this patch to use the new version of |
@0xc0170, could you re-trigger the CI? Apart from that, do I need to add a release note, or notify anyone? |
CI restarted |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Hi |
OK... I just see the six version requirement... |
Description
This is a follow-up to #11520.
Use integer division explicitly in basic test.
Convert bytes to str for Python 3 in serial test.
After the update, this patch also bumps the version of
six
module to 1.12.0.Pull request type
Reviewers
@OPpuolitaival @madchutney
Release Notes