-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
CI/TST Removed Timestamp.now() from tests. #44341 #44448
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
Hello @Mikhaylov-yv! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-11-14 22:54:51 UTC |
@Mikhaylov-yv does this cover all the uses in the tests (aside from specifically testing .now()?) can you merge master. also wouldn't object to a rule against using Timestamp.now() in testing (exempting the very few cases that we need it); this could be a followup or in this PR |
cc @mroeschke |
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.
LGTM pending green. Looks like there's a few more occurrences that can be addressed in another PR.
Hello @jreback @mroeschke . In these tests, Using this example, I wanted to make sure that I was doing it right. If everything is OK. I will make corrections to all tests where there is a |
Good idea. A new Also not mentioned in the original issue, but this also applies to |
thanks @Mikhaylov-yv happy to have you followup with a fixture for the 'now' tests. |
@jreback Thanks for the support. I keep working on the problem. |
Removed Timestamp.now() from tests. #44341
Replaced Timestamp.now () with pd.Timestamp (2021, 1, 1, 12)