19 Feb
2015
19 Feb
'15
12:16 p.m.
Im aware, my intent is to standardize the mechanism and push it into the language, I'm already involved in the py.test development. On Thursday, February 19, 2015 12:12:23 PM CEST, Nick Coghlan wrote:
On 19 February 2015 at 21:05, Steven D'Aprano <steve@pearwood.info> wrote:
On Thu, Feb 19, 2015 at 08:25:34AM +0100, Ronny Pfannschmidt wrote: ...
py.test is the one to look at for this: http://pytest.org/latest/assert.html#assert-with-the-assert-statement
It (optionally) rewrites the AST for assert statements to make them suitable for testing purposes rather than being optional runtime integrity checks.
Cheers, Nick.