'Run pytest inline or in a subprocess, depending on the command line
option "--runpytest" and return a :py:class:`RunResult`.'

def runpytest(self, *args, **kwargs):

    args = self._ensure_basetemp(args)
    return self._runpytest_method(*args, **kwargs)
