Skip to content

Commit 3078fbc

Browse files
committed
Adjust coverage ignores.
1 parent 6364871 commit 3078fbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

domdf_python_tools/doctools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,10 @@ def _do_prettify(obj: Type, base: Type, new_docstrings: Dict[str, str]):
333333
attribute,
334334
(WrapperDescriptorType, MethodDescriptorType, MethodWrapperType, MethodType),
335335
):
336-
continue
337-
elif PYPY and isinstance(attribute, MethodType):
338336
continue # pragma: no cover (!PyPy)
339-
elif PYPY37:
337+
elif PYPY and isinstance(attribute, MethodType):
338+
continue # pragma: no cover
339+
elif PYPY37: # pragma: no cover (not (PyPy and py37))
340340
if attribute is getattr(object, attr_name, None):
341341
continue
342342
elif attribute is getattr(float, attr_name, None):

0 commit comments

Comments
 (0)