Oh! Right :)
On May 31, 2014 1:54 PM, "Alexis Lê-Quôc" <notifications@github.com> wrote:

> In tests/test_009-statsd.py:
>
> > +        self.failp = failp
> > +        self.msgs = []  # accumulate messages for later inspection
> > +
> > +    def send(self, msg):
> > +        if self.failp:
> > +            raise TestException("Should not interrupt the logger")
> > +        self.msgs.append(msg)
> > +
> > +    def reset(self):
> > +        self.msgs = []
> > +
> > +class MockResponse(object):
> > +    def __init__(self, status):
> > +        self.status = status
> > +
> > +def test_statsd_fail():
>
> Right, if the exception bubbles back up, which it should not, the test
> will fail.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/benoitc/gunicorn/pull/748/files#r13263654>.
>