Skip to content

Commit 8df8914

Browse files
committed
Update test_pandas.py
1 parent 80881ae commit 8df8914

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

pandas/tests/io/json/test_pandas.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -2188,14 +2188,8 @@ def test_read_json_dtype_backend(
21882188
tm.assert_frame_equal(result, expected, check_column_type=False)
21892189

21902190
@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-
2191+
@pytest.mark.filterwarnings("ignore:Passing a BlockManager:DeprecationWarning")
2192+
def test_read_json_pyarrow_with_dtype(self):
21992193
dtype = {"a": "int32[pyarrow]", "b": "int64[pyarrow]"}
22002194
json = b'{"a": 1, "b": 2}\n'
22012195

0 commit comments

Comments
 (0)