From ed5556bdac8b864937d5df2ea690573df27a4f83 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 5 Oct 2018 10:00:52 -0400 Subject: [PATCH] Add to docstrings --- src/_pytest/pytester.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py index 8c283431a..603de4b65 100644 --- a/src/_pytest/pytester.py +++ b/src/_pytest/pytester.py @@ -1052,6 +1052,10 @@ class Testdir(object): Run a process using subprocess.Popen saving the stdout and stderr. + :param args: the sequence of arguments to pass to `subprocess.Popen()` + :param timeout: the period in seconds after which to timeout and raise + :py:class:`Testdir.TimeoutExpired` + Returns a :py:class:`RunResult`. """ @@ -1151,6 +1155,10 @@ class Testdir(object): with "runpytest-" so they do not conflict with the normal numbered pytest location for temporary files and directories. + :param args: the sequence of arguments to pass to the pytest subprocess + :param timeout: the period in seconds after which to timeout and raise + :py:class:`Testdir.TimeoutExpired` + Returns a :py:class:`RunResult`. """