Skip to content

Doc fixes #1469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 20, 2016
Merged

Doc fixes #1469

merged 11 commits into from
Mar 20, 2016

Conversation

omarkohl
Copy link
Contributor

Note: I think these minor doc changes require no updates to AUTHORS or CHANGELOG

Thanks for submitting a PR, your contribution is really appreciated!

Here's a quick checklist that should be present in PRs:

  • Target: for bug or doc fixes, target master; for new features, target features (targeting master)
  • Make sure to include one or more tests for your change (does not apply - no code changes)
  • Add yourself to AUTHORS (See note at the top)
  • Add a new entry to the CHANGELOG (choose any open position to avoid merge conflicts with other PRs) (See note at the top)

omarkohl added 10 commits March 20, 2016 12:47
The example output shown was for Python3 not Python2.

Add Python2 output and rephrase for clarity.
The feature has been there for a long time and in the 2.7.1 release notes it
says:

> fixed docs to remove the notion that yield-fixtures are experimental.

Therefore this one place was probably just missed.
The fin() function was never added as a finalizer and did therefore not print
anything in the captured output.

In general improve the output by making it more verbose/explicit and extend the
final explanation.
Since 'py.test --help' shows --trace-config as an option (and not
--traceconfig) even though both forms are accepted I assume --trace-config is
the preferred form and should therefore be used in the documentation.
Since 'py.test --help' shows --full-trace as an option (and not --fulltrace)
even though both forms are accepted I assume --full-trace is the preferred form
and should therefore be used in the documentation.
@RonnyPfannschmidt
Copy link
Member

good work, this is a nice cleanup

we'd still like a minor change-log entry so people tracking the announcements get a note

my personal believ is that someone that does a good contribution also deserves a place in the authors file, but that part is entirely up to you

@omarkohl
Copy link
Contributor Author

@RonnyPfannschmidt ok I updated the CHANGELOG. I'll add myself to the AUTHORS when I make some real code contributions ;-)

RonnyPfannschmidt added a commit that referenced this pull request Mar 20, 2016
@RonnyPfannschmidt RonnyPfannschmidt merged commit 890c2fa into pytest-dev:master Mar 20, 2016
@omarkohl omarkohl deleted the doc-fixes branch March 20, 2016 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants