def monkeypatch_DoctestModule():
    old_runtest = _pytest.doctest.DoctestItem.runtest

    def new_runtest(self):
        self.dtest.globs.update({
            'clom': clom,
            'STDIN': STDIN,
            'STDOUT': STDOUT,
            'STDERR': STDERR,
            'NOTSET': NOTSET,
        })
        old_runtest(self)

    _pytest.doctest.DoctestItem.runtest = new_runtest
Create a C{L{Response}} object from a successful OpenID
dataset/ETHPy150Open six8/python-clom/src/tests/conftest.py/monkeypatch_DoctestModule--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/openid/extensions/pape.py/Response.fromSuccessResponse