-
Notifications
You must be signed in to change notification settings - Fork 44
Converted test_pickle_message to pytest, and removed reliance on Iris #620
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #620 +/- ##
=======================================
Coverage 89.81% 89.81%
=======================================
Files 8 8
Lines 2475 2475
Branches 406 406
=======================================
Hits 2223 2223
Misses 155 155
Partials 97 97 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
trexfeathers
left a 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.
Looks good, some neat use of PyTest best practice.
I know @pp-mo already signed off on the removal of Iris from these tests.
|
Just a bit of a remaining worry here, I think. |
The load back had been excluded before I changed these tests. All I did is copy the code from Iris and add it to the TODO here, so that it was apparent what code was missing. If it had been fixed, these tests were outdated, and I have not edited the content of the code outside fo the pickle protocol and structure. |
OK very sorry 😢 I had not realised that !! I had assumed that this got fixed at some point and so that #202 "should have been" closed !! |
Pull Request
Started off as a solution to recent test failures brought on from SciTools/iris#6342, and ended up shuffling the furniture.
This no longer relies on iris, which hopefully means iris-grib tests won't fail whenever something changes in iris. A couple of things to note: