We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a6ccd5 commit 0b1b707Copy full SHA for 0b1b707
pandas/tests/extension/base/methods.py
@@ -4,6 +4,8 @@
4
import numpy as np
5
import pytest
6
7
+from pandas._typing import Dtype
8
+
9
from pandas.core.dtypes.common import is_bool_dtype
10
from pandas.core.dtypes.missing import na_value_for_dtype
11
@@ -261,7 +263,7 @@ def test_fillna_length_mismatch(self, data_missing):
261
263
data_missing.fillna(data_missing.take([1]))
262
264
265
# Subclasses can override if we expect e.g Sparse[bool], boolean, pyarrow[bool]
- _combine_le_expected_dtype = np.dtype(bool)
266
+ _combine_le_expected_dtype: Dtype = np.dtype(bool)
267
268
def test_combine_le(self, data_repeated):
269
# GH 20825
0 commit comments