'Pretty-printing lists of objects with non-ascii reprs may cause
problems.'

def test_gh_597(self):

    class Spam(object, ):
        def __repr__(self):
            return ('\xe9' * 50)
    import IPython.core.formatters
    f = IPython.core.formatters.PlainTextFormatter()
    f([Spam(), Spam()])
