(self)
| 3154 | assert_(allclose(a, a)) |
| 3155 | |
| 3156 | def test_allclose_timedelta(self): |
| 3157 | # Allclose currently works for timedelta64 as long as `atol` is |
| 3158 | # an integer or also a timedelta64 |
| 3159 | a = np.array([[1, 2, 3, 4]], dtype="m8[ns]") |
| 3160 | assert allclose(a, a, atol=0) |
| 3161 | assert allclose(a, a, atol=np.timedelta64(1, "ns")) |
| 3162 | |
| 3163 | def test_allany(self): |
| 3164 | # Checks the any/all methods/functions. |
nothing calls this directly
no test coverage detected