-
Notifications
You must be signed in to change notification settings - Fork 453
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 conftest.py compatibility with pytest 4.3 #635
Conversation
While pytest in tox.ini is explicitly set to be 3.3.2, in Fedora 31 we are about to update to a newer version of pytest. In order to be able to test babel, we need pytest 4.3 support. This adds support for pytest 4.3 without breaking support for 3.3.2.
Codecov Report
@@ Coverage Diff @@
## master #635 +/- ##
=======================================
Coverage 90.42% 90.42%
=======================================
Files 24 24
Lines 4083 4083
=======================================
Hits 3692 3692
Misses 391 391 Continue to review full report at Codecov.
|
@hroncok Thank you! We could by all means upgrade to pytest 4, so if you feel like it, please add the other required changes too. :) |
Should I pin pytest at 4.3.1? |
That's fine. Thank you! |
Oh, btw, the same changes will need to be done in the travis and appveyor configs too (due to Legacy Reasons). Would you mind doing that too, @hroncok? :) |
sure, later today |
amended |
Thank you! 🎉 |
While pytest in tox.ini is explicitly set to be 3.3.2, in Fedora 31 we are about to update to a newer version of pytest. In order to be able to test babel, we need pytest 4.3 support.
This adds support for pytest 4.3 without breaking support for 3.3.2.
Switching to 4.3 in tox.ini is left at the discretion of the maintainers.