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 Amit Saha, Amit.Saha, The Compiler, kushal.das, michael.foord, rbcollins, vstinner
Date 2016-02-23.11:24:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwa0c1cOOhqknoc9fZQ6KXr2Uwd4x4XpSOEmDJB04qMVRA@mail.gmail.com>
In-reply-to <1456221976.18.0.327688558625.issue26323@psf.upfronthosting.co.za>
Content
> 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_ :-)
History
Date User Action Args
2016-02-23 11:24:50vstinnersetrecipients: + vstinner, rbcollins, michael.foord, kushal.das, Amit.Saha, The Compiler, Amit Saha
2016-02-23 11:24:50vstinnerlinkissue26323 messages
2016-02-23 11:24:50vstinnercreate