make sure distutils logging is shut off in tests to avoid spurious output

This commit is contained in:
Fred Drake 2004-08-03 18:53:07 +00:00
parent 1fa649f2d5
commit edcac8f416
5 changed files with 25 additions and 3 deletions

View file

@ -50,7 +50,10 @@ error = _global_log.error
fatal = _global_log.fatal
def set_threshold(level):
# return the old threshold for use from tests
old = _global_log.threshold
_global_log.threshold = level
return old
def set_verbosity(v):
if v <= 0: