Changelog:
============
-Fix collection on Windows where initial paths contain the short version
of a path (for example c:\PROGRA~1\tests).
-Fix an IndexError crash raising from getstatementrange_ast.
-Reverted a fix to --maxfail handling in pytest 8.0.0 because it caused a
regression in pytest-xdist whereby session fixture teardowns may get executed
multiple times when the max-fails is reached.
-Correctly handle errors from getpass.getuser() in Python 3.13.
-Fix an edge case where ExceptionInfo._stringify_exception could crash
pytest.raises().
-Fix regression with pytest.warns() using custom warning subclasses which
have more than one parameter in their __init__.
-Fix a regression in pytest 8.0.0 whereby calling pytest.skip() and similar
control-flow exceptions within a pytest.warns() block would get suppressed
instead of propagating.
-Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module
get ignored by the doctests in the module.
-Fix a regression in pytest 8.0.0 whereby items would be collected in reverse
order in some circumstances.
(From OE-Core rev: 0a6824bc920bebfa019641f8134cb287c8564bef)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>