def test_repr(self):
     values = [1, 2, 3, 3]
     mask = [False, True, False, True]
     arr = np.ma.MaskedArray(values, mask)
     a = MappedArray(arr, values_mapping=self.mapping)
     # ensure string vals is within repr
     print a.__repr__()
     self.assertTrue('one' in a.__repr__())
 def test_repr(self):
     values = [1, 2, 3, 3]
     mask = [False, True, False, True]
     arr = np.ma.MaskedArray(values, mask)
     a = MappedArray(arr, values_mapping=self.mapping)
     # ensure string vals is within repr
     print a.__repr__()
     self.assertTrue('one' in a.__repr__())