# HG changeset patch -- Bitbucket.org # Project pytest-coverage # URL http://bitbucket.org/prologic/pytest-coverage/overview/ # User prologic # Date 1265879416 -36000 # Node ID f160262910b31d60fbf0ea612c6a4d2ac0e1d4c7 # Parent dac090ea73279920077fa4243d21a6ce18cfb322 Minor cosmetic changes
--- a/pytest_coverage.py +++ b/pytest_coverage.py @@ -16,9 +16,9 @@ def pytest_addoption(parser): dest='report_type', type="choice", choices=['report', 'annotate', 'html'], help=""" - html: Directory for html output - report: Output a text report, - annotate: Annotate your source code for which lines were executed and which were not + html: Directory for html output. + report: Output a text report. + annotate: Annotate your source code for which lines were executed and which were not. """.strip()) group.addoption('--cover-directory', action='store', default=None, dest='directory', @@ -92,4 +92,3 @@ class DoCoverage: self.cov.annotate(directory=directory, **report_type) elif report_type == 'html': self.cov.html_report(directory=directory, **report_args) - _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn