Skip to content

Commit 6112ddd

Browse files
author
MomIsBestFriend
committed
Cosmetic changes
1 parent d69692c commit 6112ddd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/tseries/offsets/test_offsets_properties.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def test_on_offset_implementations(dt, offset):
9494
compare = (dt + offset) - offset
9595
assert offset.is_on_offset(dt) == (compare == dt)
9696

97+
9798
@given(gen_yqm_offset, gen_date_range)
9899
def test_apply_index_implementations(offset, rng):
99100
# offset.apply_index(dti)[i] should match dti[i] + offset
@@ -121,9 +122,12 @@ def test_apply_index_implementations(offset, rng):
121122
@pytest.mark.xfail # TODO: reason?
122123
@given(gen_yqm_offset)
123124
def test_shift_across_dst(offset):
124-
# GH#18319 check that 1) timezone is correctly normalized and
125+
# GH#18319
126+
# check that:
127+
# 1) timezone is correctly normalized and
125128
# 2) that hour is not incorrectly changed by this normalization
126129
# Note that dti includes a transition across DST boundary
130+
127131
dti = pd.date_range(
128132
start="2017-10-30 12:00:00", end="2017-11-06", freq="D", tz="US/Eastern"
129133
)

0 commit comments

Comments
 (0)