Skip to content

Commit 0d85bfe

Browse files
will-larkinWillAyd
andauthored
Update pandas/tests/io/json/test_pandas.py
Co-authored-by: William Ayd <[email protected]>
1 parent 2572a32 commit 0d85bfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/json/test_pandas.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,8 @@ def test_read_json_pyarrow_with_dtype(self, datapath):
21962196
)
21972197

21982198
result = df.dtypes
2199-
expected = Series(
2199+
pa = pytest.importorskip("pyarrow")
2200+
expected = Series([pd.ArrowDtype(pa.int32()), pd.ArrowDtype(pa.int64())], ...)
22002201
[
22012202
pd.ArrowDtype.construct_from_string("int32[pyarrow]"),
22022203
pd.ArrowDtype.construct_from_string("int64[pyarrow]"),

0 commit comments

Comments
 (0)