mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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
|
@ -12,6 +12,9 @@ from .util import (
|
|||
strclass, safe_repr, sorted_list_difference, unorderable_list_difference
|
||||
)
|
||||
|
||||
__unittest = True
|
||||
|
||||
|
||||
class SkipTest(Exception):
|
||||
"""
|
||||
Raise this exception in a test to skip it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue