Mention omission of fixtures with leading '_', closes #3398

This commit is contained in:
Holger Kohr
2018-04-14 10:56:13 +02:00
parent 36f6687b70
commit 6626d2aef9
7 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -138,7 +138,8 @@ def showhelp(config):
tw.line("to see available markers type: pytest --markers")
tw.line("to see available fixtures type: pytest --fixtures")
tw.line("(shown according to specified file_or_dir or current dir "
"if not specified)")
"if not specified; fixtures with leading '_' are only shown "
"with the '-v' option")
for warningreport in reporter.stats.get('warnings', []):
tw.line("warning : " + warningreport.message, red=True)