pytest_cases/common_pytest.py
def is_fixture(fixture_fun  # type: Any
               ):
    """
    Returns True if the provided function is a fixture

    :param fixture_fun:
    :return:
    """
    try:
        fixture_fun._pytestfixturefunction  # noqa
        return True
    except AttributeError:
        # not a fixture ?
        return False

    Returns True if the provided function is a fixture

    :param fixture_fun:
    :return:
    
Returns True if the provided function is a fixture
Returns True if the provided function is a fixture
def is_fixture(fixture_fun  
               ):
    try:
        fixture_fun._pytestfixturefunction  
        return True
    except AttributeError:
        return False
def is_fixture ( fixture_fun ) : try : fixture_fun . _pytestfixturefunction return True except AttributeError : return False
Returns True if the provided function is a fixture
Returns True if the provided function is a fixture
# type: Any """
    Returns True if the provided function is a fixture

    :param fixture_fun:
    :return:
    """ # noqa # not a fixture ?
None
fixture_fun
None