doctest bug with nested triple quotes

Michele Simionato michele.simionato at
Tue Aug 2 10:24:53 CEST 2005

This is my file
$ python -c "print open('').read().encode('base64')"

but anyway I think Peter Otten is right, the problem is with the
missing dots.
It makes sense, actually, but for some reason I would never have
of it (I did not expect doctest to be so smart to strip the dots even
inside a string).
Thanks for the feeback and the quick solution,

           Michele Simionato

More information about the Python-list mailing list