summaryrefslogtreecommitdiff
path: root/subdir
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-01-19 11:27:26 +0000
committerLars Wirzenius <liw@liw.fi>2012-01-19 11:27:26 +0000
commit4cea5d2ea85779b185d85cdf91a8b4ac2effd583 (patch)
tree07b3809f6f04c776b1476efdd91388f35d81bad5 /subdir
parent7ee6b1ff562ab6ce439f942d0dfbb6fdcd24ed48 (diff)
downloadcoverage-test-runner-4cea5d2ea85779b185d85cdf91a8b4ac2effd583.tar.gz
disable logging output while unit tests are run
Diffstat (limited to 'subdir')
-rw-r--r--subdir/foo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/subdir/foo.py b/subdir/foo.py
index 711ab4d..51a5dde 100644
--- a/subdir/foo.py
+++ b/subdir/foo.py
@@ -1,6 +1,9 @@
+import logging
+
class Foo:
def foo(self, a):
+ logging.error('this should not be displayed when testrun runs')
if a:
return True
elif False: # pragma: no cover