summaryrefslogtreecommitdiff
path: root/metacov.ini
diff options
context:
space:
mode:
Diffstat (limited to 'metacov.ini')
-rw-r--r--metacov.ini19
1 files changed, 18 insertions, 1 deletions
diff --git a/metacov.ini b/metacov.ini
index 23806587..b25af6eb 100644
--- a/metacov.ini
+++ b/metacov.ini
@@ -14,11 +14,28 @@ source =
# We set a different pragma so our code won't be confused with test code.
exclude_lines =
pragma: not covered
+
+ # Lines in test code that isn't covered: we are nested inside ourselves.
pragma: nested
+
+ # Lines that are only executed when we are debugging coverage.py.
def __repr__
- raise AssertionError
pragma: debugging
+
+ # Lines that are only executed when we are not testing coverage.py.
+ pragma: not testing
+
+ # Lines that we can't run during metacov.
+ pragma: no metacov
+
+ # These lines only happen if tests fail.
+ raise AssertionError
pragma: only failure
+
+ # OS error conditions that we can't (or don't care to) replicate.
+ pragma: cant happen
+
+ # Jython needs special care.
pragma: only jython
skip.*Jython