New submission from Steven D'Aprano <steve+pyt...@pearwood.info>:

Functions with docstrings which were created with partial are not run by 
doctest.testmod().

See the test script, which prints:

Expected 1 failure from 2 tests, but got 0 from 0.

----------
files: partial_doctest.py
messages: 142512
nosy: stevenjd
priority: normal
severity: normal
status: open
title: doctest.testmod does not run tests in functools.partial functions
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file22953/partial_doctest.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12790>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to