We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e4454 commit eba1010Copy full SHA for eba1010
tests/test_timefuncs.py
@@ -753,7 +753,8 @@ def test_some_offsets() -> None:
753
def test_timestampseries_offset() -> None:
754
"""Test that adding an offset to a timestamp series works."""
755
vv = pd.bdate_range("2024-09-01", "2024-09-10")
756
- vv + pd.tseries.offsets.YearEnd(0)
+ shifted_vv = vv + pd.tseries.offsets.YearEnd(0)
757
+ check(assert_type(shifted_vv, pd.DatetimeIndex), pd.DatetimeIndex)
758
759
760
def test_types_to_numpy() -> None:
0 commit comments