Skip to content

Only add profile info to pytest header if in verbose mode#2165

Merged
Zac-HD merged 2 commits into
HypothesisWorks:masterfrom
Zac-HD:quiet-pytest
Nov 2, 2019
Merged

Only add profile info to pytest header if in verbose mode#2165
Zac-HD merged 2 commits into
HypothesisWorks:masterfrom
Zac-HD:quiet-pytest

Conversation

@Zac-HD

@Zac-HD Zac-HD commented Nov 1, 2019

Copy link
Copy Markdown
Member

Currently, we unconditionally add profile information to the pytest report header. This PR changes to only adding the information if pytest (or Hypothesis) is in verbose mode, which matches the behaviour of pytest's builtin cache plugin.

Closes #2155.

@Zac-HD Zac-HD added the enhancement it's not broken, but we want it to be better label Nov 1, 2019
@Zac-HD

Zac-HD commented Nov 1, 2019

Copy link
Copy Markdown
Member Author

Resetting CI because the Python2.7-Windows32bit job is hanging... soon!

@Zac-HD Zac-HD closed this Nov 1, 2019
@Zac-HD Zac-HD reopened this Nov 1, 2019
@Zac-HD Zac-HD merged commit f857eca into HypothesisWorks:master Nov 2, 2019
@Zac-HD Zac-HD deleted the quiet-pytest branch November 2, 2019 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement it's not broken, but we want it to be better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config option to skip pytest_report_header

2 participants