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 8510863
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/dtypes/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def test_is_list_like_generic():
# GH 49649
# 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 8510863

Please sign in to comment.