Skip to content

Commit 0b04396

Browse files
committed
add tests
1 parent a960121 commit 0b04396

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/indexes/datetimes/test_date_range.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,9 +651,8 @@ def test_range_closed_boundary(self, inclusive):
651651
elif inclusive == "both":
652652
expected_right = both_boundary[1:]
653653
expected_left = both_boundary[:-1]
654-
if inclusive == "neither":
655-
expected_left = both_boundary[1:]
656-
expected_right = both_boundary[:-1]
654+
655+
expected_neither = both_boundary[1:-1]
657656

658657
expected_neither = both_boundary[1:-1]
659658

0 commit comments

Comments
 (0)