pytester: assert_outcomes: use/set __tracebackhide__ (#6172)
This commit is contained in:
commit
e2022a6d48
|
@ -441,8 +441,9 @@ class RunResult:
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Assert that the specified outcomes appear with the respective
|
"""Assert that the specified outcomes appear with the respective
|
||||||
numbers (0 means it didn't occur) in the text output from a test run.
|
numbers (0 means it didn't occur) in the text output from a test run.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
__tracebackhide__ = True
|
||||||
|
|
||||||
d = self.parseoutcomes()
|
d = self.parseoutcomes()
|
||||||
obtained = {
|
obtained = {
|
||||||
"passed": d.get("passed", 0),
|
"passed": d.get("passed", 0),
|
||||||
|
|
Loading…
Reference in New Issue