def check_xfail_no_run(item):
 if (not item.config.option.runxfail):
  evalxfail = item._evalxfail
  if evalxfail.istrue():
   if (not evalxfail.get('run', True)):
    pytest.xfail(('[NOTRUN] ' + evalxfail.getexplanation()))

def check_xfail_no_run ( item ) : if ( not item . config . option . runxfail ) : evalxfail = item . _evalxfail if evalxfail . istrue ( ) : if ( not evalxfail . get ( 'run' , True ) ) : pytest . xfail ( ( '[NOTRUN] ' + evalxfail . getexplanation ( ) ) )
check xfail .