def _get_nose_vars():
 from nose import tools
 new_names = {}
 for t in dir(tools):
  if (t.startswith(u'assert_') or (t in (u'ok_', u'eq_'))):
   new_names[t] = getattr(tools, t)
 return new_names

def _get_nose_vars ( ) : from nose import tools new_names = { } for t in dir ( tools ) : if ( t . startswith ( u'assert_' ) or ( t in ( u'ok_' , u'eq_' ) ) ) : new_names [ t ] = getattr ( tools , t ) return new_names
collect assert_* .