HyukjinKwon opened a new pull request, #48453: URL: https://github.com/apache/arrow/pull/48453
### Rationale for this change The original ticket ARROW-4258 missed the followup task, see also https://github.com/apache/arrow/pull/3395#issuecomment-454130648 - `safe` to `True` should fail - `safe` to `False` works with truncation ### What changes are included in this PR? Added the tests for safe cast from NumPy float64 array to integer ### Are these changes tested? Yes, manually tested as below: ``` pytest -xvs pyarrow/tests/test_pandas.py::test_safe_cast_from_float_with_fraction_to_int_fails ``` ### Are there any user-facing changes? No, test-only. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
