diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-01-19 11:27:26 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-01-19 11:27:26 +0000 |
commit | 4cea5d2ea85779b185d85cdf91a8b4ac2effd583 (patch) | |
tree | 07b3809f6f04c776b1476efdd91388f35d81bad5 /subdir | |
parent | 7ee6b1ff562ab6ce439f942d0dfbb6fdcd24ed48 (diff) | |
download | coverage-test-runner-4cea5d2ea85779b185d85cdf91a8b4ac2effd583.tar.gz |
disable logging output while unit tests are run
Diffstat (limited to 'subdir')
-rw-r--r-- | subdir/foo.py | 3 |
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 |