(self)
| 3368 | assert_(allclose(a, a)) |
| 3369 | |
| 3370 | def test_allclose_timedelta(self): |
| 3371 | # Allclose currently works for timedelta64 as long as `atol` is |
| 3372 | # an integer or also a timedelta64 |
| 3373 | a = np.array([[1, 2, 3, 4]], dtype="m8[ns]") |
| 3374 | assert allclose(a, a, atol=0) |
| 3375 | assert allclose(a, a, atol=np.timedelta64(1, "ns")) |
| 3376 | |
| 3377 | def test_allany(self): |
| 3378 | # Checks the any/all methods/functions. |
nothing calls this directly
no test coverage detected