Expecting blank lines

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.18.218