def teardown_module(module): """Stop patches and enable logging output""" patch.stopall() logging.disable(logging.NOTSET)