[TIP] pytest-2.0: asserts++, unittest++, reporting++, config++, docs++

Phlip phlip2005 at gmail.com
Sat Nov 27 08:51:08 PST 2010


>    assert func() == 42
>
> then 'func' will be looked up from the locals and it will
> be called to obtain and present its result.

So the diagnostic reflector _does_ use the same stack frame reflection
as that Django exception page does?

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand



More information about the testing-in-python mailing list