def inline_runsource(self, source, *cmdlineargs):
p = self.makepyfile(source)<EOL>values = list(cmdlineargs) + [p]<EOL>return self.inline_run(*values)<EOL>
Run a test module in process using ``pytest.main()``.

        This run writes "source" into a temporary file and runs
        ``pytest.main()`` on it, returning a :py:class:`HookRecorder` instance
        for the result.

        :param source: the source code of the test module

        :param cmdlineargs: any extra command line arguments to use

        :return: :py:class:`HookRecorder` instance of the result