laywerrobot/lib/python3.6/site-packages/pandas/tests/categorical/conftest.py

14 lines
308 B
Python
Raw Normal View History

2020-08-27 21:55:39 +02:00
import pytest
@pytest.fixture(params=[True, False])
def allow_fill(request):
"""Boolean 'allow_fill' parameter for Categorical.take"""
return request.param
@pytest.fixture(params=[True, False])
def ordered(request):
"""Boolean 'ordered' parameter for Categorical."""
return request.param