[Pytest-commit] Issue #450: pytest --fixtures console output should not include text formatted as rst source (hpk42/pytest)
Jurko Gospodnetić
issues-reply at bitbucket.org
Sat Feb 8 22:28:42 CET 2014
New issue 450: pytest --fixtures console output should not include text formatted as rst source
https://bitbucket.org/hpk42/pytest/issue/450/pytest-fixtures-console-output-should-not
Jurko Gospodnetić:
When running pytest --fixtures, console output includes text formatted as *rst* source such as:
```
#!text
capsys
enables capturing of writes to sys.stdout/sys.stderr and makes
captured output available via ``capsys.readouterr()`` method calls
which return a ``(out, err)`` tuple.
```
or:
```
#!text
tmpdir
return a temporary directory path object
which is unique to each test function invocation,
created as a sub directory of the base temporary
directory. The returned object is a `py.path.local`_
path object.
```
Such *rst* markup should be removed.
I noticed this as something 'really out of place' in the pytest PDF documentation in the '2.1.5 Builtin fixtures/function arguments' section where this output is quoted verbatim.
More information about the pytest-commit
mailing list