class_docstr: Plugin that installs a KNOWNFAIL error class for the
  KnownFailureClass exception.  When KnownFailure is raised,
  the exception will be logged in the knownfail attribute of the
  result, 'K' or 'KNOWNFAIL' (verbose) will be output, and the
  exception will not be counted as an error or failure.
class_docstr_tok: ["Plugin","that","installs","a","KNOWNFAIL","error","class","for","the","KnownFailureClass","exception",".","When","KnownFailure","is","raised",",","the","exception","will","be","logged","in","the","knownfail","attribute","of","the","result",",","'","K","'","or","'KNOWNFAIL","'","(","verbose",")","will","be","output",",","and","the","exception","will","not","be","counted","as","an","error","or","failure","."]
code: def options(self, parser, env=os.environ):
      env_opt = "NOSE_WITHOUT_KNOWNFAIL"
      parser.add_option(
          "--no-knownfail",
          action="store_true",
          dest="noKnownFail",
          default=env.get(env_opt, False),
          help="Disable special handling of KnownFailure " "exceptions",
      )
  
imports: from __future__ import division, absolute_import, print_function
  import os
  import sys
  import doctest
  import inspect
  import numpy
  import nose
  from nose.plugins import doctests
  from nose.plugins.errorclass import ErrorClass, ErrorClassPlugin
  from nose.plugins.base import Plugin
  from nose.util import src
  from .nosetester import get_package_name
  from .utils import KnownFailureException, KnownFailureTest
label_desc: Use image node_id 1 for calling the KnownFailurePlugin obj's underlying member method code with example usage: obj.options(parser, env) without return types