def METHOD_NAME(self):
    nb, errors = run_notebook(notebook, kernel_name=self.kernel_name)
    message = ''
    if len(errors) > 0:
        for error in errors:
            message += '%s: %s\n' % (error['ename'], error['evalue'])
            for line in error['traceback']:
                message += '  %s\n' % line
    self.assertEqual(errors, [], message)