def assert_table_name_col_equal(t, name, col):
 if isinstance(col, coordinates.SkyCoord):
  assert np.all((t[name].ra == col.ra))
  assert np.all((t[name].dec == col.dec))
 elif isinstance(col, u.Quantity):
  if (type(t) is QTable):
   assert np.all((t[name].value == col.value))
 elif isinstance(col, table_helpers.ArrayWrapper):
  assert np.all((t[name].data == col.data))
 else:
  assert np.all((t[name] == col))

def assert_table_name_col_equal ( t , name , col ) : if isinstance ( col , coordinates . SkyCoord ) : assert np . all ( ( t [ name ] . ra == col . ra ) ) assert np . all ( ( t [ name ] . dec == col . dec ) ) elif isinstance ( col , u . Quantity ) : if ( type ( t ) is QTable ) : assert np . all ( ( t [ name ] . value == col . value ) ) elif isinstance ( col , table_helpers . ArrayWrapper ) : assert np . all ( ( t [ name ] . data == col . data ) ) else : assert np . all ( ( t [ name ] == col ) )
assert all .