[New-bugs-announce] [issue12790] doctest.testmod does not run tests in functools.partial functions

Steven D'Aprano report at bugs.python.org
Sat Aug 20 05:54:33 CEST 2011


New submission from Steven D'Aprano <steve+python at 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 <report at bugs.python.org>
<http://bugs.python.org/issue12790>
_______________________________________


More information about the New-bugs-announce mailing list