From dccc1fcfafd37c6fd94ca766516cb4903b29668e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 22 Mar 2010 00:15:53 +0000 Subject: Merged revisions 79263 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79263 | michael.foord | 2010-03-21 19:06:30 -0500 (Sun, 21 Mar 2010) | 1 line Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest. ........ --- Lib/unittest/runner.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/unittest/runner.py') diff --git a/Lib/unittest/runner.py b/Lib/unittest/runner.py index 8773d0c5fe..1729f1d098 100644 --- a/Lib/unittest/runner.py +++ b/Lib/unittest/runner.py @@ -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""" -- cgit v1.2.1