Inzynierka/Lib/site-packages/pandas/tests/io/json/conftest.py
2023-06-02 12:51:02 +02:00

17 lines
377 B
Python

import pytest
@pytest.fixture(params=["split", "records", "index", "columns", "values"])
def orient(request):
"""
Fixture for orients excluding the table format.
"""
return request.param
@pytest.fixture(params=["ujson", "pyarrow"])
def engine(request):
if request.param == "pyarrow":
pytest.importorskip("pyarrow.json")
return request.param