diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-03-22 00:15:53 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-03-22 00:15:53 +0000 |
commit | 41dd690d80f1b663277fb33c74c300100c6376c1 (patch) | |
tree | 3a625b160cf8aa736b14f25d3dd5350d1a6095fa /Lib/unittest/loader.py | |
parent | 7e301611cfae67f4a492c0b9a3f458c12b7f7328 (diff) | |
download | cpython-41dd690d80f1b663277fb33c74c300100c6376c1.tar.gz |
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/loader.py')
-rw-r--r-- | Lib/unittest/loader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/loader.py b/Lib/unittest/loader.py index 4e9e152869..eea5c13366 100644 --- a/Lib/unittest/loader.py +++ b/Lib/unittest/loader.py @@ -10,6 +10,7 @@ from fnmatch import fnmatch from . import case, suite, util +__unittest = True # what about .pyc or .pyo (etc) # we would need to avoid loading the same tests multiple times |