Skip to content

Commit 7cee449

Browse files
committed
add removed test condition
1 parent 526bcc6 commit 7cee449

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/indexes/datetimes/test_setops.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ def test_intersection_bug(self):
710710
b = bdate_range("12/10/2011", "12/20/2011", freq="C")
711711
result = a.intersection(b)
712712
tm.assert_index_equal(result, b)
713+
assert result.freq == b.freq
713714

714715
@pytest.mark.parametrize(
715716
"tz", [None, "UTC", "Europe/Berlin", timezone(timedelta(hours=-1))]

0 commit comments

Comments
 (0)