示例#1
0
文件: lib.py 项目: drtagkim/GitPython
def needs_dulwich_or_skip(func):
    """Skip this test if we have no dulwich - print warning"""
    return needs_module_or_skip('dulwich')(func)
示例#2
0
文件: lib.py 项目: Gu5HC/GitPython
def needs_dulwich_or_skip(func):
    """Skip this test if we have no dulwich - print warning"""
    return needs_module_or_skip('dulwich')(func)
示例#3
0
def needs_pygit2_or_skip(func):
    """Skip this test if we have no pygit2 - print warning"""
    return needs_module_or_skip('pygit2')(func)
示例#4
0
文件: lib.py 项目: wyrdvans/GitPython
def needs_pygit2_or_skip(func):
    """Skip this test if we have no pygit2 - print warning"""
    return needs_module_or_skip('pygit2')(func)