(self)
| 456 | return w, x, y, z |
| 457 | |
| 458 | def test_solo(self): |
| 459 | # Test merge_arrays on a single array. |
| 460 | _, x, _, z = self._create_arrays() |
| 461 | |
| 462 | test = merge_arrays(x) |
| 463 | control = np.array([(1,), (2,)], dtype=[('f0', int)]) |
| 464 | assert_equal(test, control) |
| 465 | test = merge_arrays((x,)) |
| 466 | assert_equal(test, control) |
| 467 | |
| 468 | test = merge_arrays(z, flatten=False) |
| 469 | assert_equal(test, z) |
| 470 | test = merge_arrays(z, flatten=True) |
| 471 | assert_equal(test, z) |
| 472 | |
| 473 | def test_solo_w_flatten(self): |
| 474 | # Test merge_arrays on a single array w & w/o flattening |
nothing calls this directly
no test coverage detected