On Apr 10, 10:16 pm, Steven D'Aprano wrote:
> After converting a text file containing doctests to use Windows line
> endings, I'm getting spurious errors:
>
> ValueError: line 19 of the docstring for examples.txt has inconsistent
> leading whitespace: '\r'
>
> I don't believe that doctest.testfile
After converting a text file containing doctests to use Windows line
endings, I'm getting spurious errors:
ValueError: line 19 of the docstring for examples.txt has inconsistent
leading whitespace: '\r'
I don't believe that doctest.testfile is documented as requiring Unix
line endings, and th