pytester: assert_outcomes: use/set __tracebackhide__

This commit is contained in:
Daniel Hahler 2019-11-12 15:28:36 +01:00
parent b352e34938
commit 86e9ae39f0
1 changed files with 2 additions and 1 deletions

View File

@ -441,8 +441,9 @@ class RunResult:
) -> None:
"""Assert that the specified outcomes appear with the respective
numbers (0 means it didn't occur) in the text output from a test run.
"""
__tracebackhide__ = True
d = self.parseoutcomes()
obtained = {
"passed": d.get("passed", 0),