Skip to content

Commit 60b1b7b

Browse files
fix linting
1 parent c74b6d2 commit 60b1b7b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pandas/core/dtypes/dtypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ def _is_na_fill_value(self) -> bool:
17911791

17921792
@property
17931793
def _is_numeric(self) -> bool:
1794-
return not self.subtype == object
1794+
return self.subtype != object
17951795

17961796
@property
17971797
def _is_boolean(self) -> bool:

pandas/tests/extension/test_string.py

-3
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ def test_compare_scalar(self, data, comparison_op):
212212
ser = pd.Series(data)
213213
self._compare_other(ser, data, comparison_op, "abc")
214214

215-
def test_groupby_extension_apply(self, data_for_grouping, groupby_apply_op):
216-
super().test_groupby_extension_apply(data_for_grouping, groupby_apply_op)
217-
218215
def test_combine_add(self, data_repeated, using_infer_string, request):
219216
dtype = next(data_repeated(1)).dtype
220217
if using_infer_string and (

0 commit comments

Comments
 (0)