diff options
Diffstat (limited to 'doc/excluding.rst')
-rw-r--r-- | doc/excluding.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/excluding.rst b/doc/excluding.rst index 1333f5c2..1b91fc9a 100644 --- a/doc/excluding.rst +++ b/doc/excluding.rst @@ -30,7 +30,7 @@ function is not reported as missing:: def __init__(self): blah1() blah2() - + def __repr__(self): # pragma: no cover return "<MyObject>" @@ -71,7 +71,7 @@ in debugging code, and are uninteresting to test themselves. You could exclude all of them by adding a regex to the exclusion list:: coverage.exclude('def __repr__') - + Here's a list of exclusions I've used:: coverage.exclude('def __repr__') |