def missing_test_message(msg):
 action = config.compute_test_value
 if (action == 'raise'):
  raise AttributeError(msg)
 elif (action == 'warn'):
  warnings.warn(msg, stacklevel=2)
 else:
  assert (action in ['ignore', 'off'])

def missing_test_message ( msg ) : action = config . compute_test_value if ( action == 'raise' ) : raise AttributeError ( msg ) elif ( action == 'warn' ) : warnings . warn ( msg , stacklevel = 2 ) else : assert ( action in [ 'ignore' , 'off' ] )
displays msg .