(self)
| 1396 | assert_array_equal(y, x) |
| 1397 | |
| 1398 | def test_ufunc(self): |
| 1399 | f = vectorize(math.cos) |
| 1400 | args = np.array([0, 0.5 * np.pi, np.pi, 1.5 * np.pi, 2 * np.pi]) |
| 1401 | r1 = f(args) |
| 1402 | r2 = np.cos(args) |
| 1403 | assert_array_almost_equal(r1, r2) |
| 1404 | |
| 1405 | def test_keywords(self): |
| 1406 |
nothing calls this directly
no test coverage detected