-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: Consolidate version (2 vs. 3) and platform (CPython vs. PyPy) checks #2376
tests: Consolidate version (2 vs. 3) and platform (CPython vs. PyPy) checks #2376
Conversation
FWIW I dunno how much I love injecting stuff into |
2c81360
to
134f3e7
Compare
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.
A few minor remarks, but I like this! :-)
Question remains what to do with @rwgk's tests, since he prefers bytes is str
when working with the string/bytes types: #2366 (comment).
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 Eric for taking the initiative!
Any further suggestions how to continue with this? It would be nice to get this in so new PRs can use this. |
Since we already inject stuff into pytest with |
I've pushed the PY2 only change, and dropped the fail fasts. @EricCousineau-TRI, does this look fine? I'll try to refactor later for pytest best practices, but it shouldn't hold up this PR. |
3f463f1
to
a12420e
Compare
Sorry, had to rebase & force-push, another check that needs to be converted to PY2 was added, and it was detected by flake8. |
Great, thanks, @henryiii! As far as I'm concerned, this can go in soon enough, then? |
Yup! Just going through to address the open discussions. |
K, pending CI, this should be good to go! Thank y'all! |
Mac CI going slow :( Looks like there're only 2 nodes available for provisioning... 😿 |
Hurray! :-) |
Minor updates that may help discussion in #2366