correct a capfd fixture docstring typo
--HG-- branch : fix_capfd_fixture_docstring
This commit is contained in:
parent
f984e94fca
commit
c9bbdf4f10
|
@ -172,7 +172,7 @@ def capsys(request):
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def capfd(request):
|
def capfd(request):
|
||||||
"""enables capturing of writes to file descriptors 1 and 2 and makes
|
"""enables capturing of writes to file descriptors 1 and 2 and makes
|
||||||
captured output available via ``capsys.readouterr()`` method calls
|
captured output available via ``capfd.readouterr()`` method calls
|
||||||
which return a ``(out, err)`` tuple.
|
which return a ``(out, err)`` tuple.
|
||||||
"""
|
"""
|
||||||
if "capsys" in request._funcargs:
|
if "capsys" in request._funcargs:
|
||||||
|
|
Loading…
Reference in New Issue