This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2017-06-16.15:37:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497627440.61.0.797289423846.issue30683@psf.upfronthosting.co.za>
In-reply-to
Content
> 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] test_builtin
hex (builtins)
Doctest: builtins.hex ... ok

----------------------------------------------------------------------
Ran 1 test in 0.002s
(...)
History
Date User Action Args
2017-06-16 15:37:20vstinnersetrecipients: + vstinner, serhiy.storchaka
2017-06-16 15:37:20vstinnersetmessageid: <1497627440.61.0.797289423846.issue30683@psf.upfronthosting.co.za>
2017-06-16 15:37:20vstinnerlinkissue30683 messages
2017-06-16 15:37:20vstinnercreate