According to https://github.com/pytest-dev/pytest/pull/6753#pullrequestreview-359754216 it should be passed to the function.