Suppress output in rotate handler test
This commit is contained in:
parent
998c2f31b9
commit
3d897f3146
@ -32,6 +32,7 @@ class RotateHandlerTest(unittest.TestCase):
|
||||
rh = RotateHandler(10)
|
||||
l = logging.getLogger("RotateHandlerTest")
|
||||
l.setLevel(logging.DEBUG)
|
||||
l.propagate = False
|
||||
|
||||
l.addHandler(rh)
|
||||
|
||||
@ -53,6 +54,7 @@ class RotateHandlerTest(unittest.TestCase):
|
||||
rh = RotateHandler(10)
|
||||
l = logging.getLogger("RotateHandlerTest")
|
||||
l.setLevel(logging.DEBUG)
|
||||
l.propagate = False
|
||||
|
||||
l.addHandler(rh)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user