(self)
| 279 | |
| 280 | class TestExpandDims: |
| 281 | def test_functionality(self): |
| 282 | s = (2, 3, 4, 5) |
| 283 | a = np.empty(s) |
| 284 | for axis in range(-5, 4): |
| 285 | b = expand_dims(a, axis) |
| 286 | assert_(b.shape[axis] == 1) |
| 287 | assert_(np.squeeze(b).shape == s) |
| 288 | |
| 289 | def test_axis_tuple(self): |
| 290 | a = np.empty((3, 3, 3)) |
nothing calls this directly
no test coverage detected