-
Notifications
You must be signed in to change notification settings - Fork 298
Lock-files update plus stop decorating PyTest fixtures #6806
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6806 +/- ##
=======================================
Coverage 90.39% 90.39%
=======================================
Files 91 91
Lines 24761 24761
Branches 4639 4639
=======================================
Hits 22382 22382
Misses 1608 1608
Partials 771 771 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
⏱️ Performance Benchmark Report: c30b35aPerformance shiftsFull benchmark resultsGenerated by GHA run |
lib/iris/tests/test_plot.py
Outdated
| # Load example 4d data (TZYX). | ||
| test_cube = iris.tests.stock.realistic_4d() | ||
|
|
||
| @_shared_utils.skip_data |
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.
It's not at all obvious to me that this actually works : Have you checked that running without testdata actually skips these tests ?
I guess this would work if pytest marking is actually based on exception raising, but that isn't my understanding of it ?
If it does work then I think, at the least, an explanation would be good!
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.
Agreed; this was very much a try-and-see. It did successfully skip/not-skip as expected. e842b14 is perhaps a clearer implementation, with an explanatory comment.
⏱️ Performance Benchmark Report: 4a7ce4bPerformance shiftsFull benchmark resultsGenerated by GHA run |
⏱️ Performance Benchmark Report: 3d57091Performance shiftsFull benchmark resultsGenerated by GHA run |
🚀 Pull Request
Description
References
Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: