Skip to content

Commit

Permalink
Ignore false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
tqa236 committed Mar 7, 2024
1 parent 2f779c4 commit 4ee7b66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/tests/dtypes/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ def test_is_list_like_generic():
# is_list_like was yielding false positives for Generic classes in python 3.11
T = TypeVar("T")

# https://github.com/pylint-dev/pylint/issues/9398
# pylint: disable=multiple-statements
class MyDataFrame(DataFrame, Generic[T]): ...

tstc = MyDataFrame[int]
Expand Down

0 comments on commit 4ee7b66

Please sign in to comment.