Skip to content

Conversation

blueyed
Copy link
Owner

@blueyed blueyed commented Nov 9, 2020

Use request.node.name instead of request.function.__name__:
request.function is None with DoctestItems.

(cherry picked from / based on commit acec0b6)

Ref: pytest-dev#6802

Use `request.node.name` instead of `request.function.__name__`:
`request.function` is `None` with `DoctestItem`s.

(cherry picked from / based on commit acec0b6)

Ref: pytest-dev#6802
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant