Skip to content

Commit 2caf795

Browse files
committed
remove test
1 parent 5438656 commit 2caf795

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

pandas/tests/indexes/interval/test_interval_tree.py

-18
Original file line numberDiff line numberDiff line change
@@ -190,24 +190,6 @@ def test_construction_overflow(self):
190190
expected = (50 + np.iinfo(np.int64).max) / 2
191191
assert result == expected
192192

193-
def test_interval_tree_error_and_warning(self):
194-
# GH 40245
195-
196-
msg = (
197-
"Deprecated argument `closed` cannot "
198-
"be passed if argument `inclusive` is not None"
199-
)
200-
with pytest.raises(ValueError, match=msg):
201-
left, right = np.arange(10), [np.iinfo(np.int64).max] * 10
202-
IntervalTree(left, right, closed="both", inclusive="both")
203-
204-
msg = "Argument `closed` is deprecated in favor of `inclusive`"
205-
with tm.assert_produces_warning(
206-
FutureWarning, match=msg, check_stacklevel=False
207-
):
208-
left, right = np.arange(10), [np.iinfo(np.int64).max] * 10
209-
IntervalTree(left, right, closed="both")
210-
211193
@pytest.mark.xfail(not IS64, reason="GH 23440")
212194
@pytest.mark.parametrize(
213195
"left, right, expected",

0 commit comments

Comments
 (0)