nose-devs/nose — pull request #479 by erikrose (2011-12-18 23:34:22+00:00)
Title: Define __unittest in scope of nose's assertion helpers to hide noisy stack frames. Closes #453.

I divided the tools into two buckets: trivial, which should not have their stack frames exposed in tracebacks; and nontrivial, which should. The tools module becomes a package, and everything stays backward-compatible.

In addition to the 2 tests I added, I tried this with both the stock traceback module and nose-progressive, and it works great. :-D