Skip to content

Commit

Permalink
Fix test_constructor_coercion_signed_to_unsigned
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Oct 30, 2023
1 parent 7569ea0 commit 1f94724
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/tests/indexes/numeric/test_numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,7 @@ def test_constructor_coercion_signed_to_unsigned(
msg = "|".join(
[
"Trying to coerce negative values to unsigned integers",
"The elements provided in the data cannot all be casted "
"to the dtype uint8",
"The elements provided in the data cannot all be casted",
]
)
with pytest.raises(OverflowError, match=msg):
Expand Down

0 comments on commit 1f94724

Please sign in to comment.