On 5/11/2010 5:29 AM, Xie&Tian wrote:
Hello
I ran across this accidentally and wonders how to make the doctest in
following code snippet work:
import doctest
def a():
"""
>>> a = '\\r\\n'
>>> print a
No matter how many blank lines I add here, it just can't get enough
Hello
I ran across this accidentally and wonders how to make the doctest in
following code snippet work:
import doctest
def a():
"""
>>> a = '\\r\\n'
>>> print a
No matter how many blank lines I add here, it just can't get enough -_-
"""
pass
doctest.testmod()
ps: