We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6406840 commit 4626ad7Copy full SHA for 4626ad7
pandas/tests/io/json/test_pandas.py
@@ -2188,7 +2188,13 @@ def test_read_json_dtype_backend(
2188
2189
@td.skip_if_no("pyarrow")
2190
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
2191
- def test_read_json_pyarrow_with_dtype(self):
+ def test_read_json_pyarrow_with_dtype(self, request):
2192
+ pa = pytest.importorskip("pyarrow")
2193
+ version_tuple = tuple(map(int, pa.__version__.split('.')))
2194
+
2195
+ if version_tuple[0] < 16:
2196
+ request.applymarker(pytest.mark.filterwarnings("ignore::DeprecationWarning"))
2197
2198
dtype = {"a": "int32[pyarrow]", "b": "int64[pyarrow]"}
2199
json = b'{"a": 1, "b": 2}\n'
2200
0 commit comments