Skip to content

Commit

Permalink
TYP: ALL_NUMPY_DTYPES mypy errors with numpy-1.20 (pandas-dev#39066)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins authored and luckyvs1 committed Jan 20, 2021
1 parent 3414542 commit a46b441
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/_testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
DATETIME64_DTYPES: List[Dtype] = ["datetime64[ns]", "M8[ns]"]
TIMEDELTA64_DTYPES: List[Dtype] = ["timedelta64[ns]", "m8[ns]"]

BOOL_DTYPES = [bool, "bool"]
BYTES_DTYPES = [bytes, "bytes"]
OBJECT_DTYPES = [object, "object"]
BOOL_DTYPES: List[Dtype] = [bool, "bool"]
BYTES_DTYPES: List[Dtype] = [bytes, "bytes"]
OBJECT_DTYPES: List[Dtype] = [object, "object"]

ALL_REAL_DTYPES = FLOAT_DTYPES + ALL_INT_DTYPES
ALL_NUMPY_DTYPES = (
Expand Down

0 comments on commit a46b441

Please sign in to comment.