Skip to content

Commit 8ea82d3

Browse files
committed
ENH: Added support for PyArrow JSON type in ArrowDtype.type
1 parent 26a5ded commit 8ea82d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/extension/test_arrow.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3557,7 +3557,6 @@ def test_categorical_from_arrow_dictionary():
35573557

35583558
def test_arrow_json_type():
35593559
# GH 60958
3560-
3561-
dtype = pd.ArrowDtype(pa.json_(pa.string()))
3562-
result = pd.api.types.pandas_dtype(dtype).type
3560+
dtype = ArrowDtype(pa.json_(pa.string()))
3561+
result = dtype.type
35633562
assert result == str

0 commit comments

Comments
 (0)