diff --git a/pandas/tests/dtypes/test_inference.py b/pandas/tests/dtypes/test_inference.py index 668e7192c0e527..3271fcfbee5697 100644 --- a/pandas/tests/dtypes/test_inference.py +++ b/pandas/tests/dtypes/test_inference.py @@ -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]