mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.
This commit is contained in:
parent
bb9d726357
commit
b1aa30f94d
10 changed files with 32 additions and 5 deletions
|
@ -10,6 +10,8 @@ from fnmatch import fnmatch
|
|||
|
||||
from . import case, suite
|
||||
|
||||
__unittest = True
|
||||
|
||||
|
||||
def _CmpToKey(mycmp):
|
||||
'Convert a cmp= function into a key= function'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue