This commit is contained in:
Bruno Oliveira 2024-01-18 21:51:15 -03:00
parent c384c43db2
commit 939479bb84
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
Properly escape the ``reason`` of a :ref:`skipif <pytest.mark.skipif ref>` mark when writing JUnit XML files.
Properly escape the ``reason`` of a :ref:`skip <pytest.mark.skip ref>` mark when writing JUnit XML files.

View File

@ -1654,6 +1654,7 @@ def test_escaped_skipreason_issue3533(
def test_bin_escaped_skipreason(pytester: Pytester, run_and_parse: RunAndParse) -> None:
"""Special characters are skipped from mark.skip reason (#11842)."""
pytester.makepyfile(
"""
import pytest