(self)
| 508 | assert_equal(np.array([]).dtype, np.zeros(0).dtype) |
| 509 | |
| 510 | def test_void_copyswap(self): |
| 511 | dt = np.dtype([('one', '<i4'), ('two', '<i4')]) |
| 512 | x = np.array((1, 2), dtype=dt) |
| 513 | x = x.byteswap() |
| 514 | assert_(x['one'] > 1 and x['two'] > 2) |
| 515 | |
| 516 | def test_method_args(self): |
| 517 | # Make sure methods and functions have same default axis |