@pytest.fixture
def prefix_loader(filesystem_loader, dict_loader):
 return loaders.PrefixLoader({'a': filesystem_loader, 'b': dict_loader})

@ pytest . fixture def prefix_loader ( filesystem_loader , dict_loader ) : return loaders . PrefixLoader ( { 'a' : filesystem_loader , 'b' : dict_loader } )
returns a prefixloader .