Show More
@@ -433,7 +433,7 b' class PlainTextFormatter(BaseFormatter):' | |||||
433 | # This uses use StringIO, as cStringIO doesn't handle unicode. |
|
433 | # This uses use StringIO, as cStringIO doesn't handle unicode. | |
434 | stream = StringIO() |
|
434 | stream = StringIO() | |
435 | printer = pretty.RepresentationPrinter(stream, self.verbose, |
|
435 | printer = pretty.RepresentationPrinter(stream, self.verbose, | |
436 | self.max_width, self.newline, |
|
436 | self.max_width, self.newline.encode(), | |
437 | singleton_pprinters=self.singleton_printers, |
|
437 | singleton_pprinters=self.singleton_printers, | |
438 | type_pprinters=self.type_printers, |
|
438 | type_pprinters=self.type_printers, | |
439 | deferred_pprinters=self.deferred_printers) |
|
439 | deferred_pprinters=self.deferred_printers) |
General Comments 0
You need to be logged in to leave comments.
Login now