Inzynierka/Lib/site-packages/pandas/tests/io/json/conftest.py

17 lines
377 B
Python
Raw Normal View History

2023-06-02 12:51:02 +02:00
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