What are the advantages or difference in “assert False” and “self.assertFalse”

Posted by chrissygormley on Stack Overflow See other posts from Stack Overflow or by chrissygormley
Published on 2010-06-02T13:33:37Z Indexed on 2010/06/02 14:24 UTC
Read the original article Hit count: 145

Filed under:
|
|

Hello,

I am wrting test's and I have heard some people saying to use self.assertFalse rather than assert False. Why is this and are there any advantages to be had?

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about assert