From 939479bb847fe57ae2e16217191a3e493d7a5261 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 18 Jan 2024 21:51:15 -0300 Subject: [PATCH] Fix docs --- changelog/11842.bugfix.rst | 2 +- testing/test_junitxml.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog/11842.bugfix.rst b/changelog/11842.bugfix.rst index 9ca0a8d8d..3a11b110f 100644 --- a/changelog/11842.bugfix.rst +++ b/changelog/11842.bugfix.rst @@ -1 +1 @@ -Properly escape the ``reason`` of a :ref:`skipif ` mark when writing JUnit XML files. +Properly escape the ``reason`` of a :ref:`skip ` mark when writing JUnit XML files. diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py index fa2b34ff1..48a9c263e 100644 --- a/testing/test_junitxml.py +++ b/testing/test_junitxml.py @@ -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