Follow-up to b09762d (#6705). Ref: https://github.com/pytest-dev/pytest/pull/6705#discussion_r379819573
b09762d