conftest.py 377 B

12345678910111213141516
  1. import pytest
  2. @pytest.fixture(params=["split", "records", "index", "columns", "values"])
  3. def orient(request):
  4. """
  5. Fixture for orients excluding the table format.
  6. """
  7. return request.param
  8. @pytest.fixture(params=["ujson", "pyarrow"])
  9. def engine(request):
  10. if request.param == "pyarrow":
  11. pytest.importorskip("pyarrow.json")
  12. return request.param