Skip to content

Commit be8e5c0

Browse files
committed
Silence a lint warning with new version of pylint.
1 parent d3747a2 commit be8e5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/greenlet/tests/leakcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _include_object_p(self, obj):
172172
# to try to reverse the order of arguments...which leads
173173
# to the explosion of mock objects. We don't want that, so we implement
174174
# the check manually.
175-
if kind == type(self._include_object_p):
175+
if kind == type(self._include_object_p): # pylint: disable=unidiomatic-typecheck
176176
try:
177177
# pylint:disable=not-callable
178178
exact_method_equals = self._include_object_p.__eq__(obj)

0 commit comments

Comments
 (0)