summaryrefslogtreecommitdiff
path: root/test/coveragetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/coveragetest.py')
-rw-r--r--test/coveragetest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py
index 61a75197..4ae399cc 100644
--- a/test/coveragetest.py
+++ b/test/coveragetest.py
@@ -22,6 +22,12 @@ class Tee(object):
for f in self._files:
f.write(data)
+ if 0:
+ # Use this if you need to use a debugger, though it makes some tests
+ # fail, I'm not sure why...
+ def __getattr__(self, name):
+ return getattr(self._files[0], name)
+
# Status returns for the command line.
OK, ERR = 0, 1