예제 #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)