diff options
Diffstat (limited to 'doc/excluding.rst')
| -rw-r--r-- | doc/excluding.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/excluding.rst b/doc/excluding.rst index 0dfee51..1072e5b 100644 --- a/doc/excluding.rst +++ b/doc/excluding.rst @@ -52,7 +52,7 @@ 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:: - coverage.exclude("def __repr__") + coverage.exclude('def __repr__') Here's a list of exclusions I've used:: |
