(self)
| 524 | assert_equal(np.array([]).dtype, np.zeros(0).dtype) |
| 525 | |
| 526 | def test_void_copyswap(self): |
| 527 | dt = np.dtype([('one', '<i4'), ('two', '<i4')]) |
| 528 | x = np.array((1, 2), dtype=dt) |
| 529 | x = x.byteswap() |
| 530 | assert_(x['one'] > 1 and x['two'] > 2) |
| 531 | |
| 532 | def test_method_args(self): |
| 533 | # Make sure methods and functions have same default axis |