'return configuration value from an :ref:`ini file <inifiles>`. If the
specified name hasn\'t been registered through a prior
:py:func:`parser.addini <_pytest.config.Parser.addini>`
call (usually from a plugin), a ValueError is raised.'

def getini(self, name):

    try:
        return self._inicache[name]
    except KeyError:
        self._inicache[name] = val = self._getini(name)
        return val
