Better Assert in Python

搜索了 http://reasonableapproximation.net/2014/05/10/bsert-better-asserts-in-python.html

也就是说:

On reddit, Liorithiel informs me that py.test can extract useful failure messages from assert statements. Like what nose does, but implemented differently, so that it can show the values of intermediate expressions in more detail than bsert can. (It rewrites the AST on import time, which is an even more awesome hack than nose’s.) As far as I’m concerned, this knowledge makes bsert obsolete.