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