conftest.py 476 B

1234567891011121314151617181920212223242526
  1. import pytest
  2. @pytest.fixture(params=[True, False])
  3. def check_dtype(request):
  4. return request.param
  5. @pytest.fixture(params=[True, False])
  6. def check_exact(request):
  7. return request.param
  8. @pytest.fixture(params=[True, False])
  9. def check_index_type(request):
  10. return request.param
  11. @pytest.fixture(params=[0.5e-3, 0.5e-5])
  12. def rtol(request):
  13. return request.param
  14. @pytest.fixture(params=[True, False])
  15. def check_categorical(request):
  16. return request.param