Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.

This commit is contained in:
Michael Foord 2010-03-22 00:06:30 +00:00
parent bb9d726357
commit b1aa30f94d
10 changed files with 32 additions and 5 deletions

View file

@ -5,6 +5,8 @@ import time
from . import result
__unittest = True
class _WritelnDecorator(object):
"""Used to decorate file-like objects with a handy 'writeln' method"""