Skip to content

Commit 8549c1c

Browse files
pylint: disable unnecessary-lambda in test
Disable unnecessary-lambda lint warning in test. The warning had been uncovered since pylint 3.0.0, but it's not clear what exactly is the reason since the only CHANGELOG entry related to unnecessary-lambda declares that false positive cases were fixed [1]. 1. pylint-dev/pylint#8496
1 parent fc2323f commit 8549c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/suites/test_interval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def test_unknown_adjust_decode(self):
616616
}
617617

618618
def test_out_of_range(self):
619-
# pylint: disable=cell-var-from-loop
619+
# pylint: disable=cell-var-from-loop,unnecessary-lambda
620620

621621
for name, case in self.out_of_range_cases.items():
622622
with self.subTest(msg=name):

0 commit comments

Comments
 (0)