From 999181005bc23b8b4e5ae94cc7940bb5df704ae3 Mon Sep 17 00:00:00 2001 From: Brock Date: Wed, 23 Mar 2022 14:10:19 -0700 Subject: [PATCH] Fix CI --- pandas/_libs/tslibs/tzconversion.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/_libs/tslibs/tzconversion.pyx b/pandas/_libs/tslibs/tzconversion.pyx index ff77566e1d559..9190585b2882d 100644 --- a/pandas/_libs/tslibs/tzconversion.pyx +++ b/pandas/_libs/tslibs/tzconversion.pyx @@ -534,7 +534,7 @@ cdef const int64_t[:] _tz_convert_from_utc(const int64_t[:] stamps, tzinfo tz): int64_t[::1] result - if is_utc(tz): + if is_utc(tz) or tz is None: # Much faster than going through the "standard" pattern below return stamps.copy()