Skip to content

Commit

Permalink
mypy fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Jan 23, 2023
1 parent e237641 commit 822e53c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/tests/extension/base/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import numpy as np
import pytest

from pandas._typing import Dtype

from pandas.core.dtypes.common import is_bool_dtype
from pandas.core.dtypes.missing import na_value_for_dtype

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

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

def test_combine_le(self, data_repeated):
# GH 20825
Expand Down

0 comments on commit 822e53c

Please sign in to comment.