src/transformers/testing_utils.py
def require_git_lfs(test_case):
    """
    Decorator marking a test that requires git-lfs.

    git-lfs requires additional dependencies, and tests are skipped by default. Set the RUN_GIT_LFS_TESTS environment
    variable to a truthy value to run them.
    """
    if not _run_git_lfs_tests:
        return unittest.skip("test of git lfs workflow")(test_case)
    else:
        return test_case

    Decorator marking a test that requires git-lfs.

    git-lfs requires additional dependencies, and tests are skipped by default. Set the RUN_GIT_LFS_TESTS environment
    variable to a truthy value to run them.
    
Decorator marking a test that requires git-lfs.
git-lfs requires additional dependencies, and tests are skipped by default. Set the RUN_GIT_LFS_TESTS environment
variable to a truthy value to run them.
Decorator marking a test that requires git - lfs . git - lfs requires additional dependencies and tests are skipped by default . Set the RUN_GIT_LFS_TESTS environment variable to a truthy value to run them .
def require_git_lfs(test_case):
    if not _run_git_lfs_tests:
        return unittest.skip("test of git lfs workflow")(test_case)
    else:
        return test_case
def require_git_lfs ( test_case ) : if not _run_git_lfs_tests : return unittest . skip ( "test of git lfs workflow" ) ( test_case ) else : return test_case
Decorator marking a test that requires git-lfs.
Decorator marking a test that requires git - lfs .
"""
    Decorator marking a test that requires git-lfs.

    git-lfs requires additional dependencies, and tests are skipped by default. Set the RUN_GIT_LFS_TESTS environment
    variable to a truthy value to run them.
    """
test_case