(self)
| 308 | |
| 309 | class TestExpandDims: |
| 310 | def test_functionality(self): |
| 311 | s = (2, 3, 4, 5) |
| 312 | a = np.empty(s) |
| 313 | for axis in range(-5, 4): |
| 314 | b = expand_dims(a, axis) |
| 315 | assert_(b.shape[axis] == 1) |
| 316 | assert_(np.squeeze(b).shape == s) |
| 317 | |
| 318 | def test_axis_tuple(self): |
| 319 | a = np.empty((3, 3, 3)) |
nothing calls this directly
no test coverage detected