-
Notifications
You must be signed in to change notification settings - Fork 39
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
Compare datetimes instead of strings in _fixes/cmip5/test_access1_X.py #1173
Conversation
As @trexfeathers pointed out in the issue, we don't know what we will get back from num2date. That maybe |
@zklaus fragile is good for testing - that prompts us to look into what's the problem. The thing is, we don't use only |
Alright. Sounds good. Let me do a formal review. |
.github/workflows/action-test.yml
Outdated
@@ -21,6 +21,7 @@ on: | |||
push: | |||
branches: | |||
- main | |||
- compare_datetimes |
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.
Remove this?
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.
on it right after the last OSX test passes
Could you please also go through the checklist and assign labels? |
all tests had passed, removed the call to test on branch, ready to go go Klaus 🏁 |
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.
Just finish up the checklist please, possibly by removing or striking out not applicable items.
done, cheers for the review, Klaus! I think we're now good in terms of all the test fails, on various platforms, a release will be clean 🥇 |
Cheers V, great work these days! (And all others too, of course 😝 ) |
🍺 🍺 🍺 |
Description
Got rid of
num2date
calls that change the outputted string formatted date everytime there's a new release ofcf_units
and compare datime objects straight out the box.Closes #1158
Link to documentation:
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number pull requests: