Skip to content

Commit 04ff6da

Browse files
committed
2 parents 00f2085 + 0d85bfe commit 04ff6da

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
@@ -2197,7 +2197,8 @@ def test_read_json_pyarrow_with_dtype(self, datapath):
21972197
)
21982198

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

0 commit comments

Comments
 (0)