commit | b1aa30f94ded4e9d1094ec890758d913b8725085 | [log] [tgz] |
---|---|---|
author | Michael Foord <fuzzyman@voidspace.org.uk> | Mon Mar 22 00:06:30 2010 +0000 |
committer | Michael Foord <fuzzyman@voidspace.org.uk> | Mon Mar 22 00:06:30 2010 +0000 |
tree | 0b7f5565510f05a8f2b66bb7668f646ec1439632 | |
parent | bb9d726357854a8dcae597e22d02f5d3a2122431 [diff] [blame] |
Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.
diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py index bd758e0..3f0f43d 100644 --- a/Lib/unittest/main.py +++ b/Lib/unittest/main.py
@@ -6,6 +6,8 @@ from . import loader, runner +__unittest = True + USAGE_AS_MAIN = """\ Usage: %(progName)s [options] [tests]