def needs_dulwich_or_skip(func): """Skip this test if we have no dulwich - print warning""" return needs_module_or_skip('dulwich')(func)
def needs_pygit2_or_skip(func): """Skip this test if we have no pygit2 - print warning""" return needs_module_or_skip('pygit2')(func)