Also considering this workaround, replacing: self.addDetail('test-log', text_content(self._log_buffer.getvalue())) with: self.addDetail('test-log', unicode(text_content(self._log_buffer.getvalue()), errors='replace'))
Also considering this workaround, replacing: addDetail( 'test-log' , text_content( self._log_ buffer. getvalue( ))) addDetail( 'test-log' , unicode( text_content( self._log_ buffer. getvalue( )), errors='replace'))
self.
with:
self.