def __getattribute__(cls, name):
    "Attribute lookup method for custom class attributes.\n\n        ReFrame test variables are descriptors injected at the class level.\n        If a variable descriptor has already been injected into the class,\n        do not return the descriptor object and return the default value\n        associated with that variable instead.\n\n        .. warning::\n            .. versionchanged:: 3.7.0\n               Prior versions exposed the variable descriptor object if this\n               was already present in the class, instead of returning the\n               variable's default value.\n        "
    try:
        var_space = super().__getattribute__('_rfm_var_space')
    except AttributeError:
        var_space = None
    if (var_space and (name in var_space.injected_vars)):
        raise AttributeError('delegate variable lookup to __getattr__')
    return super().__getattribute__(name)
Attribute lookup method for custom class attributes.

ReFrame test variables are descriptors injected at the class level.
If a variable descriptor has already been injected into the class,
do not return the descriptor object and return the default value
associated with that variable instead.

.. warning::
    .. versionchanged:: 3.7.0
       Prior versions exposed the variable descriptor object if this
       was already present in the class, instead of returning the
       variable's default value.
def __getattribute__(cls, name):
    "Attribute lookup method for custom class attributes.\n\n        ReFrame test variables are descriptors injected at the class level.\n        If a variable descriptor has already been injected into the class,\n        do not return the descriptor object and return the default value\n        associated with that variable instead.\n\n        .. warning::\n            .. versionchanged:: 3.7.0\n               Prior versions exposed the variable descriptor object if this\n               was already present in the class, instead of returning the\n               variable's default value.\n        "
    try:
        var_space = super().__getattribute__('_rfm_var_space')
    except AttributeError:
        var_space = None
    if (var_space and (name in var_space.injected_vars)):
        raise AttributeError('delegate variable lookup to __getattr__')
    return super().__getattribute__(name)