Message365457
The unittest.mock `assert_called_*with*` methods take either literals, or the single `ANY` special matcher (https://docs.python.org/3/library/unittest.mock.html#any) to match any argument.
Experience suggests me that it's useful to have more flexible matchers, such as INSTANCEOF or REGEXP.
Will provide a starting pull request for this today. (Be warned: it's the first time I try contributing to CPython.) |
|
Date |
User |
Action |
Args |
2020-04-01 10:00:05 | Flameeyes | set | recipients:
+ Flameeyes |
2020-04-01 10:00:05 | Flameeyes | set | messageid: <1585735205.76.0.306632606173.issue40133@roundup.psfhosted.org> |
2020-04-01 10:00:05 | Flameeyes | link | issue40133 messages |
2020-04-01 10:00:05 | Flameeyes | create | |
|