-
Notifications
You must be signed in to change notification settings - Fork 46
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
testing code cleanup #449
testing code cleanup #449
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #449 +/- ##
=====================================
Coverage 77.8% 77.8%
=====================================
Files 27 27
Lines 2638 2638
=====================================
Hits 2053 2053
Misses 585 585
|
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.
Excellent work @jGaboardi! The PR smoothens the code a bit and adds more reusability.
- I noted some warnings were not moved to
conftest.py
. Is there a specific reason for deciding which test should use theconftest.py
warning? - About the numpy
deprecationWarning
, I think we should filter it, as it seems, it will disappear in future releases ofpyproj
.
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.
There is a similar infeasibility warning in line 86. Should we move all expected warnings to conftest.py
?
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.
There is a similar infeasibility warning in line 86. Should we move all expected warnings to
conftest.py
?
It's similar, but not the same message. I think keeping where it is now would be best. However, this brings a larger discussion of it we should review and generalize the error messages. If we think that should be the case let's open a fresh issue for that.
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.
I agree with opening a fresh issue. I think we can keep these warnings without generalizing them first. To avoid over-engineering, we can do this transition step-by-step. Firstly, move the warnings in conftest
. Then, if we see conftest
has a lot of repeated code, we should generalize it.
|
OK, I will see about adding that to this PR. |
@gegen07 Seems I missed quite few 😅. Also, I am having trouble pinning down where the |
OK! I think I've found to offending line. Will push up the fix soon. |
@gegen07 OK. I think this is ready for a proper review. |
This PR:
codecov
acting up a bit – update action #451numpy
DeprecationWarning withinpyproj
#452oldest
anddev