Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

We could split patterns on two parts and create both matchers. Then the final 
matching function could look like:

return _match_test_patterns is None or test_id in id_set or 
regex_match(test_id) or any(map(regex_match, test_id.split(".")))


I don't know whether it is worth to do.

----------

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

Reply via email to