Skip to content

Commit 0b1b707

Browse files
committed
mypy fixup
1 parent 4a6ccd5 commit 0b1b707

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/extension/base/methods.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import numpy as np
55
import pytest
66

7+
from pandas._typing import Dtype
8+
79
from pandas.core.dtypes.common import is_bool_dtype
810
from pandas.core.dtypes.missing import na_value_for_dtype
911

@@ -261,7 +263,7 @@ def test_fillna_length_mismatch(self, data_missing):
261263
data_missing.fillna(data_missing.take([1]))
262264

263265
# Subclasses can override if we expect e.g Sparse[bool], boolean, pyarrow[bool]
264-
_combine_le_expected_dtype = np.dtype(bool)
266+
_combine_le_expected_dtype: Dtype = np.dtype(bool)
265267

266268
def test_combine_le(self, data_repeated):
267269
# GH 20825

0 commit comments

Comments
 (0)