src/transformers/testing_utils.py
def require_flax(test_case):
    """
    Decorator marking a test that requires JAX & Flax

    These tests are skipped when one / both are not installed

    """
    if not is_flax_available():
        test_case = unittest.skip("test requires JAX & Flax")(test_case)
    return test_case

    Decorator marking a test that requires JAX & Flax

    These tests are skipped when one / both are not installed

    
Decorator marking a test that requires JAX & Flax
These tests are skipped when one / both are not installed
Decorator marking a test that requires JAX & Flax These tests are skipped when one / both are not installed
def require_flax(test_case):
    if not is_flax_available():
        test_case = unittest.skip("test requires JAX & Flax")(test_case)
    return test_case
def require_flax ( test_case ) : if not is_flax_available ( ) : test_case = unittest . skip ( "test requires JAX & Flax" ) ( test_case ) return test_case
Decorator marking a test that requires JAX & Flax
These tests are skipped when one / both are not installed
Decorator marking a test that requires JAX & Flax These tests are skipped when one / both are not installed
"""
    Decorator marking a test that requires JAX & Flax

    These tests are skipped when one / both are not installed

    """
test_case