Skip to content

Commit 6b99819

Browse files
ignore type hint error
1 parent b91e30c commit 6b99819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6401,7 +6401,7 @@ def _find_common_type_compat(self, target) -> DtypeObj:
64016401
if hasattr(target_dtype, "tz"):
64026402
target_dtype_ns = DatetimeTZDtype("ns", tz=target_dtype.tz)
64036403
else:
6404-
target_dtype_ns = np.dtype("datetime64[ns]")
6404+
target_dtype_ns = np.dtype("datetime64[ns]") # type: ignore[assignment]
64056405
try:
64066406
Index(target, dtype=target_dtype_ns, copy=False)
64076407
except OutOfBoundsDatetime:

0 commit comments

Comments
 (0)