You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, xfailed tests via the marker would have a special `"reason: "` string prefixed to it.
Removed the prefix so the `wasxfail` attribute is now consistent regardless the method used.
Fix#11067
---------
Co-authored-by: Bruno Oliveira <[email protected]>
The test report is now consistent regardless if the test xfailed via :ref:`pytest.mark.xfail <pytest.mark.xfail ref>` or :func:`pytest.fail`.
2
+
3
+
Previously, *xfailed* tests via the marker would have the string ``"reason: "`` prefixed to the message, while those *xfailed* via the function did not. The prefix has been removed.
0 commit comments