Skip to content

Commit

Permalink
added assert (#55560)
Browse files Browse the repository at this point in the history
* added assert

* review comment
  • Loading branch information
jayendra-patil33 authored Oct 21, 2023
1 parent 00f10db commit c072ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/indexing/interval/test_interval_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_loc_with_overlap(self, indexer_sl):
# interval
expected = 0
result = indexer_sl(ser)[Interval(1, 5)]
result == expected
assert expected == result

expected = ser
result = indexer_sl(ser)[[Interval(1, 5), Interval(3, 7)]]
Expand Down

0 comments on commit c072ffb

Please sign in to comment.