##// END OF EJS Templates
Fix bug with non-ascii reprs inside pretty-printed lists....
Thomas Kluyver -
Show More
@@ -433,7 +433,7 b' class PlainTextFormatter(BaseFormatter):'
433 433 # This uses use StringIO, as cStringIO doesn't handle unicode.
434 434 stream = StringIO()
435 435 printer = pretty.RepresentationPrinter(stream, self.verbose,
436 self.max_width, self.newline,
436 self.max_width, self.newline.encode(),
437 437 singleton_pprinters=self.singleton_printers,
438 438 type_pprinters=self.type_printers,
439 439 deferred_pprinters=self.deferred_printers)
General Comments 0
You need to be logged in to leave comments. Login now