We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2d6b4 commit f97f5e1Copy full SHA for f97f5e1
pandas/tests/extension/test_arrow.py
@@ -1637,7 +1637,7 @@ def test_from_arrow_respecting_given_dtype():
1637
1638
def test_from_arrow_respecting_given_dtype_unsafe():
1639
array = pa.array([1.5, 2.5], type=pa.float64())
1640
- with pytest.raises(pa.ArrowInvalid, match="Float value 1.5 was truncated"):
+ with tm.external_error_raised(pa.ArrowInvalid):
1641
array.to_pandas(types_mapper={pa.float64(): ArrowDtype(pa.int64())}.get)
1642
1643
0 commit comments