Skip to content
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

REF: misplaced tests, parametrize, simplify #55870

Merged
merged 10 commits into from
Nov 7, 2023

Conversation

jbrockmendel
Copy link
Member

  • 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.

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Nov 7, 2023
if isinstance(off, Tick) and off._creso > dti._data._creso:
# cast to higher reso like we would with Timedelta scalar
exp_unit = Timedelta(off).unit
exp_unit = tm.get_finest_unit(dti.unit, Timedelta(off).unit)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this change is causing a failure

FAILED pandas/tests/tseries/offsets/test_offsets.py::TestCommon::test_add_dt64_ndarray_non_nano[BusinessDay0-s] - ValueError: Value must be Timedelta, string, integer, float, timedelta or convertible, not BusinessDay

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woops, reverted

@mroeschke mroeschke modified the milestones: 2.1.3, 2.2 Nov 7, 2023
@mroeschke mroeschke merged commit f2794fd into pandas-dev:main Nov 7, 2023
34 checks passed
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the ref-tsts-3 branch November 7, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants