From 4ee7b66e371818088ef9c7fa2acf6fe8c3122836 Mon Sep 17 00:00:00 2001 From: Anh Trinh Date: Thu, 7 Mar 2024 22:42:20 +0100 Subject: [PATCH] Ignore false positive --- pandas/tests/dtypes/test_inference.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/tests/dtypes/test_inference.py b/pandas/tests/dtypes/test_inference.py index 668e7192c0e52..96a67591f6c78 100644 --- a/pandas/tests/dtypes/test_inference.py +++ b/pandas/tests/dtypes/test_inference.py @@ -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]