Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Dec 8, 2023
1 parent 8673707 commit 746b504
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pandas/tests/indexes/test_old_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,10 @@ def test_insert_base(self, index):
# test 0th element
assert index[0:4].equals(result.insert(0, index[0]))

@pytest.mark.skipif(using_pyarrow_string_dtype(), reason="completely different behavior, tested elsewher")
@pytest.mark.skipif(
using_pyarrow_string_dtype(),
reason="completely different behavior, tested elsewher",
)
def test_insert_out_of_bounds(self, index):
# TypeError/IndexError matches what np.insert raises in these cases

Expand Down

0 comments on commit 746b504

Please sign in to comment.