diff options
Diffstat (limited to 'coverage/debug.py')
-rw-r--r-- | coverage/debug.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coverage/debug.py b/coverage/debug.py index 74315231..5b41bc40 100644 --- a/coverage/debug.py +++ b/coverage/debug.py @@ -17,6 +17,11 @@ class DebugControl(object): self.options = options self.output = output + def __repr__(self): + return "<DebugControl options=%r output=%r>" % ( + self.options, self.output + ) + def should(self, option): """Decide whether to output debug information in category `option`.""" return (option in self.options or option in FORCED_DEBUG) |