Skip to content

Commit abe29d2

Browse files
authored
TST: Fix xfailed offset test (#33874)
1 parent 3bda39f commit abe29d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/tseries/offsets/test_offsets_properties.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,12 @@ def test_apply_index_implementations(offset, rng):
123123
# TODO: Check randomly assorted entries, not just first/last
124124

125125

126-
@pytest.mark.xfail # TODO: reason?
127126
@given(gen_yqm_offset)
128127
def test_shift_across_dst(offset):
129128
# GH#18319 check that 1) timezone is correctly normalized and
130129
# 2) that hour is not incorrectly changed by this normalization
130+
assume(not offset.normalize)
131+
131132
# Note that dti includes a transition across DST boundary
132133
dti = pd.date_range(
133134
start="2017-10-30 12:00:00", end="2017-11-06", freq="D", tz="US/Eastern"

0 commit comments

Comments
 (0)