jorisvandenbossche commented on code in PR #14729:
URL: https://github.com/apache/arrow/pull/14729#discussion_r1034622876
##########
python/pyarrow/tests/test_pandas.py:
##########
@@ -2164,9 +2172,17 @@ def test_nested_large_list(self):
s = (pa.array([[[1, 2, 3], [4]], None],
type=pa.large_list(pa.large_list(pa.int64())))
.to_pandas())
- tm.assert_series_equal(
- s, pd.Series([[[1, 2, 3], [4]], None], dtype=object),
- check_names=False)
+
+ # pandas.testing generates a
+ # DeprecationWarning: elementwise comparison failed
+ # numpy.VisibleDeprecationWarning: Creating an ndarray
+ # from ragged nested sequences ...
+ with warnings.catch_warnings():
+ warnings.simplefilter("ignore", np.VisibleDeprecationWarning)
Review Comment:
I would still catch/ignore it for now, since we will have test builds for
some time that have older numpy
--
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]