From 623bab4447e9ec9b109055c542121e4b4ea8b1f4 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 8 Feb 2018 20:29:04 -0200 Subject: [PATCH] Use :no-auto-options: in capsys fixtures Otherwise they are recognized as iterators --- doc/en/reference.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/en/reference.rst b/doc/en/reference.rst index 91a26e31c..a0126747c 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -260,6 +260,7 @@ capsys .. currentmodule:: _pytest.capture .. autofunction:: capsys() + :no-auto-options: Returns an instance of :py:class:`CaptureFixture`. @@ -277,6 +278,7 @@ capsysbinary ~~~~~~~~~~~~ .. autofunction:: capsysbinary() + :no-auto-options: Returns an instance of :py:class:`CaptureFixture`. @@ -294,6 +296,7 @@ capfd ~~~~~~ .. autofunction:: capfd() + :no-auto-options: Returns an instance of :py:class:`CaptureFixture`. @@ -311,6 +314,7 @@ capfdbinary ~~~~~~~~~~~~ .. autofunction:: capfdbinary() + :no-auto-options: Returns an instance of :py:class:`CaptureFixture`.