Skip to content

Commit b189b6e

Browse files
committed
Remove annotations causing ci failures
1 parent 20e5a8c commit b189b6e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/arrays/numpy_.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from typing import (
44
TYPE_CHECKING,
5-
Any,
65
Literal,
76
)
87

@@ -241,7 +240,7 @@ def _values_for_factorize(self) -> tuple[np.ndarray, float | None]:
241240
fv = np.nan
242241
return self._ndarray, fv
243242

244-
def _validate_setitem_value(self, value: Any) -> Any | None:
243+
def _validate_setitem_value(self, value):
245244
"""
246245
Check if we have a scalar that we can cast losslessly.
247246

0 commit comments

Comments
 (0)