Skip to content

Commit 8990616

Browse files
authored
Zip Strict for pandas/core/dtypes (#62594)
1 parent ff8ac64 commit 8990616

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pandas/core/dtypes/missing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def _array_equivalent_object(
514514
left_remaining = left
515515
right_remaining = right
516516

517-
for left_value, right_value in zip(left_remaining, right_remaining):
517+
for left_value, right_value in zip(left_remaining, right_remaining, strict=True):
518518
if left_value is NaT and right_value is not NaT:
519519
return False
520520

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ exclude = [
453453
"pandas/core/computation/align.py" = ["B905"]
454454
"pandas/core/computation/expr.py" = ["B905"]
455455
"pandas/core/computation/ops.py" = ["B905"]
456-
"pandas/core/dtypes/missing.py" = ["B905"]
457456
"pandas/core/groupby/generic.py" = ["B905"]
458457
"pandas/core/groupby/groupby.py" = ["B905"]
459458
"pandas/core/groupby/grouper.py" = ["B905"]

0 commit comments

Comments
 (0)