Since everyone seems to be using this solution, we might as well use it.
See: https://github.com/pytest-dev/pytest/pull/7565