Skip to content

Commit 66a30bd

Browse files
TYP: ALL_NUMPY_DTYPES mypy errors with numpy-1.20 (#39066)
1 parent feb1639 commit 66a30bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/_testing/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@
108108
DATETIME64_DTYPES: List[Dtype] = ["datetime64[ns]", "M8[ns]"]
109109
TIMEDELTA64_DTYPES: List[Dtype] = ["timedelta64[ns]", "m8[ns]"]
110110

111-
BOOL_DTYPES = [bool, "bool"]
112-
BYTES_DTYPES = [bytes, "bytes"]
113-
OBJECT_DTYPES = [object, "object"]
111+
BOOL_DTYPES: List[Dtype] = [bool, "bool"]
112+
BYTES_DTYPES: List[Dtype] = [bytes, "bytes"]
113+
OBJECT_DTYPES: List[Dtype] = [object, "object"]
114114

115115
ALL_REAL_DTYPES = FLOAT_DTYPES + ALL_INT_DTYPES
116116
ALL_NUMPY_DTYPES = (

0 commit comments

Comments
 (0)