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 e1d4a98 commit 4bd9f90Copy full SHA for 4bd9f90
pandas/tests/extension/test_arrow.py
@@ -1647,7 +1647,7 @@ def test_from_arrow_respecting_given_dtype():
1647
1648
def test_from_arrow_respecting_given_dtype_unsafe():
1649
array = pa.array([1.5, 2.5], type=pa.float64())
1650
- with pytest.raises(pa.ArrowInvalid, match="Float value 1.5 was truncated"):
+ with tm.external_error_raised(pa.ArrowInvalid):
1651
array.to_pandas(types_mapper={pa.float64(): ArrowDtype(pa.int64())}.get)
1652
1653
0 commit comments