STINNER Victor added the comment:
I have no idea how to implement this idea. I'm not interested to work on this
topic, so I just close this issue. If someone wants to work on this topic,
please open a new issue.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
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@selma$ ./python -m test -v test_builtin --match=builtins.hex
(...)
0:00:00 load avg: 0.28 [1/1] tes
Serhiy Storchaka added the comment:
Note that --match (and --matchfile) is ignored by doctests. I think this can
cause a problem for bisect feature. After making --match working with doctests
we can found a way to name doctests and list them.
--
nosy: +serhiy.storchaka
___
New submission from STINNER Victor:
bpo-30523 added a new --list-cases command to regrtest to list test methods. It
is able to list doctest tests in test_builtins, but not in test_extcall.
test_builtin doctest tests:
haypo@selma$ ./python -m test test_builtin --list-cases|grep ^builtins
builti