diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-17 20:15:53 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-17 20:15:53 -0400 |
| commit | bcd89039dd7aba5459a1727c44d1661d0a48a96e (patch) | |
| tree | c394f7d613a1cc03758fe6127a1f4163a637554b /doc/excluding.rst | |
| parent | bb098f20ed64bafd3ca14b265f47f657a4be9d79 (diff) | |
| download | python-coveragepy-bcd89039dd7aba5459a1727c44d1661d0a48a96e.tar.gz | |
Remove notes about me being available for custom work, and rewrap many paragraphs.
Diffstat (limited to 'doc/excluding.rst')
| -rw-r--r-- | doc/excluding.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/excluding.rst b/doc/excluding.rst index f1262c3..31e8e9b 100644 --- a/doc/excluding.rst +++ b/doc/excluding.rst @@ -39,8 +39,8 @@ function is not reported as missing:: return "<MyObject>" Excluded code is executed as usual, and its execution is recorded in the -coverage data as usual. When producing reports though, coverage excludes it from -the list of missing code. +coverage data as usual. When producing reports though, coverage excludes it +from the list of missing code. Branch coverage @@ -57,8 +57,8 @@ counted as a branch if one of its choices is excluded:: # x is always true. blah3() -Because the ``else`` clause is excluded, the ``if`` only has one possible -next line, so it isn't considered a branch at all. +Because the ``else`` clause is excluded, the ``if`` only has one possible next +line, so it isn't considered a branch at all. Advanced exclusion @@ -70,8 +70,8 @@ expressions. Using :ref:`configuration files <config>` or the coverage often-used constructs to exclude that can be matched with a regex. You can exclude them all at once without littering your code with exclusion pragmas. -For example, you might decide that __repr__ functions are usually only used -in debugging code, and are uninteresting to test themselves. You could exclude +For example, you might decide that __repr__ functions are usually only used in +debugging code, and are uninteresting to test themselves. You could exclude all of them by adding a regex to the exclusion list:: [report] |
