diff --git a/pandas/tests/extension/test_arrow.py b/pandas/tests/extension/test_arrow.py index 8979c145a223c..3706d90a0636a 100644 --- a/pandas/tests/extension/test_arrow.py +++ b/pandas/tests/extension/test_arrow.py @@ -1364,3 +1364,10 @@ def test_pickle_roundtrip(data): result_sliced = pickle.loads(sliced_pickled) tm.assert_series_equal(result_sliced, expected_sliced) + + +def test_repr_from_arrow_array(data, frame_or_series): + # GH 48238 + pa_array = pa.array([data[0], None]) + result = frame_or_series(pa_array, dtype=ArrowDtype(pa_array.type)) + repr(result)