@pytest.fixture
def choice_loader(dict_loader, package_loader):
 return loaders.ChoiceLoader([dict_loader, package_loader])

@ pytest . fixture def choice_loader ( dict_loader , package_loader ) : return loaders . ChoiceLoader ( [ dict_loader , package_loader ] )
returns a choiceloader .