STINNER Victor added the comment: > In the past I've rejected them because you can easily get it by asserting the > call count is non-zero and I want to avoid the proliferation of a thousand > assert methods
Yeah, I understand that. IMHO having to check if a function was called is a common need. Mock has already assert_not_called() for example. I like the detection of spelling typos for methods starting with assert_ :-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com