__tracebackhide__ = True

This commit is contained in:
Kyle Altendorf 2018-10-06 21:56:59 -04:00
parent 4b36f9aa64
commit ccaec8d360
1 changed files with 6 additions and 0 deletions

View File

@ -1059,6 +1059,8 @@ class Testdir(object):
Returns a :py:class:`RunResult`.
"""
__tracebackhide__ = True
timeout = kwargs.pop("timeout", None)
raise_on_kwargs(kwargs)
@ -1078,6 +1080,8 @@ class Testdir(object):
)
def handle_timeout():
__tracebackhide__ = True
timeout_message = (
"{seconds} second timeout expired running:"
" {command}".format(seconds=timeout, command=cmdargs)
@ -1161,6 +1165,8 @@ class Testdir(object):
Returns a :py:class:`RunResult`.
"""
__tracebackhide__ = True
p = py.path.local.make_numbered_dir(
prefix="runpytest-", keep=None, rootdir=self.tmpdir
)