[issue30683] Enhance doctest support in regrtest --list-cases
STINNER Victor
report at bugs.python.org
Fri Jun 16 11:37:20 EDT 2017
STINNER Victor added the comment:
> Note that --match (and --matchfile) is ignored by doctests, so technically, it seems that it's doable ;-)
In test_os, --match works on doctest tests:
haypo at selma$ ./python -m test -v test_builtin --match=builtins.hex
(...)
0:00:00 load avg: 0.28 [1/1] test_builtin
hex (builtins)
Doctest: builtins.hex ... ok
----------------------------------------------------------------------
Ran 1 test in 0.002s
(...)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30683>
_______________________________________
More information about the Python-bugs-list
mailing list