[TIP] getting the result of a test in teardown_method?

Robert Collins robertc at robertcollins.net
Sat May 8 23:49:36 PDT 2010


I'm not sure in py.test, but certainly in stock unittest you can't.
Can you elaborate why you want to couple your teardown and your test
outcome?

-Rob



More information about the testing-in-python mailing list