Skip to content

Commit

Permalink
windows/32bit builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Oct 13, 2023
1 parent 59980c1 commit e70d582
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pandas/tests/scalar/period/test_period.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,13 @@ def test_add_overflow_raises(self):
# GH#55503
per = Timestamp.max.to_period("ns")

msg = "Python int too large to convert to C long"
msg = "|".join(
[
"Python int too large to convert to C long",
# windows, 32bit linux builds
"int too big to convert",
]
)
with pytest.raises(OverflowError, match=msg):
per + 1

Expand Down

0 comments on commit e70d582

Please sign in to comment.