Skip to content

Update test_datetime.py #1

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

Closed
wants to merge 1 commit into from
Closed

Update test_datetime.py #1

wants to merge 1 commit into from

Conversation

pmlpm1986
Copy link

@pmlpm1986 pmlpm1986 commented Jul 7, 2023

Adds tests to ensure that the PR treats datetime inputs for midnight as datetime objects rather than dates. For date inputs, they should be regarded as dates only as long as the frequency is a (integer) multiple of days.

It relates to pandas-dev#53470.

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Adds tests to ensure that the PR treats datetime inputs for midnight as datetime objects rather than dates. For date inputs, they should be regarded as dates only as long as the frequency is a (integer) multiple of days.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants