Python doctest with newline characters: inconsistent leading whitespace error
How can I include special characters (tab, newline) in a python doctest result string?
Doctest succeeds in Python v2.7 but not with Python 2.6 due to inconsistent error message Error when running +NORMALIZE WHITESPACE in doctest on Mac terminal How to use doctest on a Client script? Python doctest error Run doctest on text file from .py file? How to use doctest with logging? Error using python doctest Python: How can I define a class in a doctest? doctest Expected nothing doctest doesn't test classes methods in a module Doctest NORMALIZE_WHITESPACE does not work Doctest a private method in python Python doctest with a loop Doctest with datetime Executing Python doctest code Put python doctest at the end of the code file? Python doctest exceptions python doctest check for a specific line Docstring has inconsistent leading whitespace How do I remove leading whitespace in Python? How to doctest random.sample() when used on a set? Is there a way to enable the inconsistent whitespace check (-t) in Python by default Python doctest: result with multiple lines Test Cases in Python Using Doctest Doctest fails due to unicode leading u doctest in class don't pass How come I get a doctest error when I run this file? use doctest and logging in python program How do i run a python doctest in windows?