From bd992edfcb2bd2d675cdd32f1801fccbfceac45f Mon Sep 17 00:00:00 2001 From: jbrockmendel Date: Wed, 29 Apr 2020 10:59:18 -0700 Subject: [PATCH] TST: Fix xfailed offset test --- pandas/tests/tseries/offsets/test_offsets_properties.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/tests/tseries/offsets/test_offsets_properties.py b/pandas/tests/tseries/offsets/test_offsets_properties.py index 716d3ff3faf1c..0d14a0b79ac7e 100644 --- a/pandas/tests/tseries/offsets/test_offsets_properties.py +++ b/pandas/tests/tseries/offsets/test_offsets_properties.py @@ -125,11 +125,12 @@ def test_apply_index_implementations(offset, rng): # TODO: Check randomly assorted entries, not just first/last -@pytest.mark.xfail # TODO: reason? @given(gen_yqm_offset) def test_shift_across_dst(offset): # GH#18319 check that 1) timezone is correctly normalized and # 2) that hour is not incorrectly changed by this normalization + assume(not offset.normalize) + # Note that dti includes a transition across DST boundary dti = pd.date_range( start="2017-10-30 12:00:00", end="2017-11-06", freq="D", tz="US/Eastern"