def parseconfigure(self, *args):
config = self.parseconfig(*args)<EOL>config._do_configure()<EOL>self.request.addfinalizer(config._ensure_unconfigure)<EOL>return config<EOL>
Return a new pytest configured Config instance.

        This returns a new :py:class:`_pytest.config.Config` instance like
        :py:meth:`parseconfig`, but also calls the pytest_configure hook.