[issue1705520] pyunit should allow __unittest in locals to trim stackframes

2010-09-17 Thread Michael Foord
Michael Foord added the comment: It is relevant and would be *possible* to implement. I'm not 100% convinced it is a good *enough* idea to make it worth adding though. I'd like to leave the issue open for the moment in case other people want to comment. -- ___

[issue1705520] pyunit should allow __unittest in locals to trim stackframes

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: is this still relevant? -- nosy: +BreamoreBoy versions: -Python 2.7 ___ Python tracker ___ ___ Py

[issue1705520] pyunit should allow __unittest in locals to trim stackframes

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +michael.foord stage: -> test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ __

[issue1705520] pyunit should allow __unittest in locals to trim stackframes

2008-01-22 Thread Steve Purcell
Steve Purcell added the comment: This is a good idea, but slightly messy. A better solution would be for unittest to provide a decorator that could be used to mark assertion functions. Internally, that decorator may well work the way you describe. Given a corresponding patch, someone with mo