コード例 #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
ファイル: lib.py プロジェクト: JustAnotherChad/GitPython
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)