##// END OF EJS Templates
IPython directive: correctly clear cout
Joris Van den Bossche -
Show More
@@ -585,7 +585,7 b' class EmbeddedSphinxShell(object):'
585 if self.warning_is_error:
585 if self.warning_is_error:
586 raise RuntimeError('Non Expected warning in `{}` line {}'.format(filename, lineno))
586 raise RuntimeError('Non Expected warning in `{}` line {}'.format(filename, lineno))
587
587
588 self.cout.truncate(0)
588 self.clear_cout()
589 return (ret, input_lines, processed_output,
589 return (ret, input_lines, processed_output,
590 is_doctest, decorator, image_file, image_directive)
590 is_doctest, decorator, image_file, image_directive)
591
591
General Comments 0
You need to be logged in to leave comments. Login now