(self)
| 5343 | assert_(m is not np.ma.masked) |
| 5344 | |
| 5345 | def test_repr(self): |
| 5346 | # copies should not exist, but if they do, it should be obvious that |
| 5347 | # something is wrong |
| 5348 | assert_equal(repr(np.ma.masked), 'masked') |
| 5349 | |
| 5350 | # create a new instance in a weird way |
| 5351 | masked2 = np.ma.MaskedArray.__new__(np.ma.core.MaskedConstant) |
| 5352 | assert_not_equal(repr(masked2), 'masked') |
| 5353 | |
| 5354 | def test_pickle(self): |
| 5355 | from io import BytesIO |
nothing calls this directly
no test coverage detected