The doctest
uses the first blank line after >>>
to identify the end of the expected output, so what do you do when the expected output actually contains a blank line?
The doctest
handles this situation by matching a line that contains only the text <BLANKLINE>
in the expected output with a real blank line in the actual output.
3.136.18.218