Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Oct 10, 2024
1 parent 581582b commit 1d1e3da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pandas/core/dtypes/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@ def _is_na_fill_value(self) -> bool:

@property
def _is_numeric(self) -> bool:
return not self.subtype == object
return self.subtype != object

@property
def _is_boolean(self) -> bool:
Expand Down
3 changes: 0 additions & 3 deletions pandas/tests/extension/test_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ def test_compare_scalar(self, data, comparison_op):
ser = pd.Series(data)
self._compare_other(ser, data, comparison_op, "abc")

def test_groupby_extension_apply(self, data_for_grouping, groupby_apply_op):
super().test_groupby_extension_apply(data_for_grouping, groupby_apply_op)

def test_combine_add(self, data_repeated, using_infer_string, request):
dtype = next(data_repeated(1)).dtype
if using_infer_string and (
Expand Down

0 comments on commit 1d1e3da

Please sign in to comment.