Skip to content

Commit 0addf5e

Browse files
committed
Fix test coverage on PyPy
1 parent 8268013 commit 0addf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake8_sphinx_links/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _check_docstring(self, node: Union[ast.ClassDef, ast.FunctionDef, ast.Module
204204

205205
if (
206206
sys.version_info < (3, 8) and platform.python_implementation() != "PyPy"
207-
): # pragma: no cover (>=PY38)
207+
): # pragma: no cover (PY38+) # pragma: no cover (!CPython)
208208
doc_end_lineno = node.body[0].value.lineno # type: ignore
209209

210210
# Calculate the start line

0 commit comments

Comments
 (0)