code: def _printHeadline(self, kind, test, is_failure=True):
          
          if is_failure or self._options.show_advisories:
              with self.bar.dodging():
                  self.stream.writeln(
                          '\n' +
                          (self._term.bold if is_failure else '') +
                          '%s: %s' % (kind, nose_selector(test)) +
                          (self._term.normal if is_failure else ''))
docs: Output a 1-line error summary to the stream if appropriate.
  
          The line contains the kind of error and the pathname of the test.
  
          :arg kind: The (string) type of incident the precipitated this call
          :arg test: The test that precipitated this call