(self)
| 446 | # Test merge_arrays |
| 447 | |
| 448 | def _create_arrays(self): |
| 449 | x = np.array([1, 2, ]) |
| 450 | y = np.array([10, 20, 30]) |
| 451 | z = np.array( |
| 452 | [('A', 1.), ('B', 2.)], dtype=[('A', '|S3'), ('B', float)]) |
| 453 | w = np.array( |
| 454 | [(1, (2, 3.0, ())), (4, (5, 6.0, ()))], |
| 455 | dtype=[('a', int), ('b', [('ba', float), ('bb', int), ('bc', [])])]) |
| 456 | return w, x, y, z |
| 457 | |
| 458 | def test_solo(self): |
| 459 | # Test merge_arrays on a single array. |
no outgoing calls
no test coverage detected