From 89a4cdb6733b8ab152a9fc33d61db6ab716ca3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Fri, 31 Mar 2023 19:14:33 +0200 Subject: [PATCH] Let the #11276 test actually be one which would have failed earlier --- tests/roots/test-root/objects.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/roots/test-root/objects.txt b/tests/roots/test-root/objects.txt index 6db635e2e..366482f66 100644 --- a/tests/roots/test-root/objects.txt +++ b/tests/roots/test-root/objects.txt @@ -103,6 +103,12 @@ Referring to :func:`nothing <>`. :type hour: DuplicateType :param .Cls extcls: A class from another module. +.. raw:: latex + + \begingroup + \let\oldhref\href + \def\href{\ifnum\catcode`\-=\active\errorwithsphinxhref\fi\oldhref} + .. class:: MyClass .. attribute:: config @@ -110,6 +116,10 @@ Referring to :func:`nothing <>`. A configuration object. +.. raw:: latex + + \endgroup + C items =======