We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80881ae commit 8df8914Copy full SHA for 8df8914
pandas/tests/io/json/test_pandas.py
@@ -2188,14 +2188,8 @@ def test_read_json_dtype_backend(
2188
tm.assert_frame_equal(result, expected, check_column_type=False)
2189
2190
@td.skip_if_no("pyarrow")
2191
- def test_read_json_pyarrow_with_dtype(self, request):
2192
- pa = pytest.importorskip("pyarrow")
2193
-
2194
- if Version(pa.__version__) <= Version("16.0"):
2195
- request.applymarker(
2196
- pytest.mark.filterwarnings("ignore::DeprecationWarning")
2197
- )
2198
+ @pytest.mark.filterwarnings("ignore:Passing a BlockManager:DeprecationWarning")
+ def test_read_json_pyarrow_with_dtype(self):
2199
dtype = {"a": "int32[pyarrow]", "b": "int64[pyarrow]"}
2200
json = b'{"a": 1, "b": 2}\n'
2201
0 commit comments