def test_newline():
 handlers = logger.handlers
 level = logger.getEffectiveLevel()
 newline(logger)
 assert (handlers == logger.handlers)
 assert (level == logger.getEffectiveLevel())

def test_newline ( ) : handlers = logger . handlers level = logger . getEffectiveLevel ( ) newline ( logger ) assert ( handlers == logger . handlers ) assert ( level == logger . getEffectiveLevel ( ) )
test the state of a the logger passed to the newline function .