Skip to content

Commit 1b571f7

Browse files
committed
BUG: Fix dt64[non_nano] + offset rounding
1 parent b6f945d commit 1b571f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/arrays/test_datetimes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,10 @@ def test_factorize_sort_without_freq():
846846
tda.factorize(sort=True)
847847

848848

849+
@pytest.mark.filterwarnings(
850+
"ignore:Non-vectorized DateOffset being applied to Series or DatetimeIndex:"
851+
"PerformanceWarning"
852+
)
849853
def test_dt64_non_nano_offset_no_rounding():
850854
# GH#56586
851855
dti = pd.date_range("2016-01-01", periods=3, unit="s")

0 commit comments

Comments
 (0)