()
| 3437 | assert_equal(z, range(0, 10, 2)) |
| 3438 | |
| 3439 | def test_close_raises(): |
| 3440 | it = np.nditer(np.arange(3)) |
| 3441 | assert_equal(next(it), 0) |
| 3442 | it.close() |
| 3443 | assert_raises(StopIteration, next, it) |
| 3444 | assert_raises(ValueError, getattr, it, 'operands') |
| 3445 | |
| 3446 | def test_close_parameters(): |
| 3447 | it = np.nditer(np.arange(3)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…