doctest bug with nested triple quotes

Paolino paolo_veronelli at tiscali.it
Tue Aug 2 02:06:19 EDT 2005


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')"
IiIiCmR1bW15ID0gJycnCgpzb21ldGhpbmcKaGVyZQonJycKIiIiCmltcG9ydCBkb2N0ZXN0OyBk
b2N0ZXN0LnRlc3Rtb2QoKQo=

Paolino

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



More information about the Python-list mailing list