When running the LoggingTests on pypy3 (PyPy 2.4.0), both the server and
client error tests result in infinite recursion in
tornado.httpclient.HTTPResponse.__repr__ when logging the error with a
%r. The initializer for the response creates a HTTPError object with a
referential loop:
def __init__(self, ... error=None):
# ....
if error is None:
self.error = HTTPError(self.code, message=self.reason,
response=self)
When printing a HTTPError with %r it prints to response object's repr
which in turn prints the error's repr.