summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/runner.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-22 00:15:53 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-22 00:15:53 (GMT)
commitdccc1fcfafd37c6fd94ca766516cb4903b29668e (patch)
treec61f70185ef656a1b6d80481d3cc1833ce3925d4 /Lib/unittest/runner.py
parenta6884fc0fdc46b88a006972d8e8e15f39359336e (diff)
downloadcpython-dccc1fcfafd37c6fd94ca766516cb4903b29668e.zip
cpython-dccc1fcfafd37c6fd94ca766516cb4903b29668e.tar.gz
cpython-dccc1fcfafd37c6fd94ca766516cb4903b29668e.tar.bz2
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. ........
Diffstat (limited to 'Lib/unittest/runner.py')
-rw-r--r--Lib/unittest/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/unittest/runner.py b/Lib/unittest/runner.py
index 8773d0c..1729f1d 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"""