(self)
| 742 | assert_(asbytes(r['var1'][0][0]) == b'abc') |
| 743 | |
| 744 | def test_take_output(self): |
| 745 | # Ensure that 'take' honours output parameter. |
| 746 | x = np.arange(12).reshape((3, 4)) |
| 747 | a = np.take(x, [0, 2], axis=1) |
| 748 | b = np.zeros_like(a) |
| 749 | np.take(x, [0, 2], axis=1, out=b) |
| 750 | assert_array_equal(a, b) |
| 751 | |
| 752 | def test_take_object_fail(self): |
| 753 | # Issue gh-3001 |
nothing calls this directly
no test coverage detected