From 635d59404ad7ab734874b55372b5ffcc198a7f30 Mon Sep 17 00:00:00 2001 From: Brock Date: Fri, 3 Nov 2023 13:44:45 -0700 Subject: [PATCH] increase tolerance 1000x --- pandas/tests/tslibs/test_strptime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/tslibs/test_strptime.py b/pandas/tests/tslibs/test_strptime.py index 27bcf80ed53b6..ce45bdd10b8e8 100644 --- a/pandas/tests/tslibs/test_strptime.py +++ b/pandas/tests/tslibs/test_strptime.py @@ -70,9 +70,9 @@ def test_array_strptime_resolution_todaynow(self): vals[::-1], fmt="%Y-%m-%d", utc=False, creso=creso_infer ) - # 1ms is an arbitrary cutoff for call overhead; in local testing the + # 1s is an arbitrary cutoff for call overhead; in local testing the # actual difference is about 250us - tolerance = np.timedelta64(1, "ms") + tolerance = np.timedelta64(1, "s") assert res.dtype == "M8[us]" assert abs(res[0] - now) < tolerance