Suppress output in rotate handler test

This commit is contained in:
Nick Hall 2017-03-07 18:01:01 +00:00
parent 998c2f31b9
commit 3d897f3146

View File

@ -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)