Skip to content

Commit ed516d9

Browse files
committed
Fixing format
1 parent 8ae8a06 commit ed516d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/core/arrays/datetimelike.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,9 +1095,7 @@ def _get_arithmetic_result_freq(self, other) -> BaseOffset | None:
10951095
and isinstance(other, Timestamp)
10961096
):
10971097
self = cast("DatetimeArray", self)
1098-
if (
1099-
self.tz is None or timezones.is_utc(self.tz)
1100-
) and (
1098+
if (self.tz is None or timezones.is_utc(self.tz)) and (
11011099
other.tz is None or timezones.is_utc(other.tz)
11021100
):
11031101
# e.g. issue gh-62094: subtracting a Timestamp from a DTI

0 commit comments

Comments
 (0)