Use :no-auto-options: in capsys fixtures
Otherwise they are recognized as iterators
This commit is contained in:
parent
70f93263e9
commit
623bab4447
|
@ -260,6 +260,7 @@ capsys
|
||||||
.. currentmodule:: _pytest.capture
|
.. currentmodule:: _pytest.capture
|
||||||
|
|
||||||
.. autofunction:: capsys()
|
.. autofunction:: capsys()
|
||||||
|
:no-auto-options:
|
||||||
|
|
||||||
Returns an instance of :py:class:`CaptureFixture`.
|
Returns an instance of :py:class:`CaptureFixture`.
|
||||||
|
|
||||||
|
@ -277,6 +278,7 @@ capsysbinary
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
.. autofunction:: capsysbinary()
|
.. autofunction:: capsysbinary()
|
||||||
|
:no-auto-options:
|
||||||
|
|
||||||
Returns an instance of :py:class:`CaptureFixture`.
|
Returns an instance of :py:class:`CaptureFixture`.
|
||||||
|
|
||||||
|
@ -294,6 +296,7 @@ capfd
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
.. autofunction:: capfd()
|
.. autofunction:: capfd()
|
||||||
|
:no-auto-options:
|
||||||
|
|
||||||
Returns an instance of :py:class:`CaptureFixture`.
|
Returns an instance of :py:class:`CaptureFixture`.
|
||||||
|
|
||||||
|
@ -311,6 +314,7 @@ capfdbinary
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
.. autofunction:: capfdbinary()
|
.. autofunction:: capfdbinary()
|
||||||
|
:no-auto-options:
|
||||||
|
|
||||||
Returns an instance of :py:class:`CaptureFixture`.
|
Returns an instance of :py:class:`CaptureFixture`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue