This is my file
$ python -c "print open('x.py').read().encode('base64')"
IiIiCj4+PiBkdW1teSA9ICcnJwpzb21ldGhpbmcKaGVyZQonJycKIiIiCmltcG9ydCBkb2N0ZXN0
OyBkb2N0ZXN0LnRlc3Rtb2QoKQo=
but anyway I think Peter Otten is right, the problem is with the
missing dots.
It makes sense, actually, but for some r
Michele Simionato wrote:
> I am getting trouble with nested triple quoted strings in doctest.
> For instance
>
> $ cat x.py
> """
dummy = '''
> something
> here
> '''
> """
> import doctest; doctest.testmod()
>
> $ python x.py
>
> ***
I can't reproduce the error. Freebsd,python 2.4 runs it.
> cat x.py
"""
dummy = '''
something
here
'''
"""
import doctest; doctest.testmod()
> python x.py
>
maybe the file is different.
> python -c "print open('x.py').read().encode('base64')"
IiIiCmR1bW15ID0gJycnCgpzb21ldGhpbmcKaGVyZQonJycKI