docs: update docstring

This commit is contained in:
Glyphack 2024-06-20 17:15:23 +02:00
parent 34b407f983
commit 2a7cdc6c05
1 changed files with 1 additions and 2 deletions

View File

@ -151,8 +151,7 @@ def get_scope_node(node: nodes.Node, scope: Scope) -> Optional[nodes.Node]:
def getfixturemarker(obj: object) -> Optional["FixtureFunctionMarker"]:
"""Return fixturemarker or None if it doesn't exist or raised
exceptions."""
"""Return fixturemarker or None if it doesn't exist"""
if isinstance(obj, FixtureFunctionDefinition):
return obj._fixture_function_marker
return None