doctest's ELLIPSIS
Sébastien Boisgérault
Sebastien.Boisgerault at gmail.com
Fri Apr 29 11:45:24 EDT 2005
Hi,
Can anybody come up with a sensible argument that would explain
why the following test should fail ? (Expected: nothing, Got: 42).
cheers,
S.B.
----------------------------------------
#!/usr/bin/env python
import doctest
def test():
"""
>>> print 42 #doctest: +ELLIPSIS
...
"""
def run():
"Run the test."
doctest.testmod()
if __name__ == '__main__':
run()
----------------------------------------
More information about the Python-list
mailing list