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