(item)
return bool(
        inspect.isclass(item)
        and issubclass(item, HttpRunner)
        and item.__name__ != "HttpRunner"
    )
check if a variable is a HttpRunner testcase class
check if a variable is a HttpRunner testcase class
check if a variable is a HttpRunner testcase class
def is_httprunner_testcase(item):
    """ check if a variable is a HttpRunner testcase class
    """
    from httprunner import HttpRunner

    # TODO: skip referenced testcase
    return bool(
        inspect.isclass(item)
        and issubclass(item, HttpRunner)
        and item.__name__ != "HttpRunner"
    )
def is_httprunner_testcase ( item ) : from httprunner import HttpRunner # TODO: skip referenced testcase return bool ( inspect . isclass ( item ) and issubclass ( item , HttpRunner ) and item . __name__ != "HttpRunner" )