[issue40133] Provide additional matchers for unittest.mock

2020-04-02 Thread Diego Elio Pettenò
Change by Diego Elio Pettenò : -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue40133> ___ ___ Python-bugs-list mailing list Unsub

[issue40133] Provide additional matchers for unittest.mock

2020-04-01 Thread Diego Elio Pettenò
New submission from Diego Elio Pettenò : 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 fle