Let the #11276 test actually be one which would have failed earlier

This commit is contained in:
Jean-François B 2023-03-31 19:14:33 +02:00
parent 15553da9c8
commit 89a4cdb673

View File

@ -103,6 +103,12 @@ Referring to :func:`nothing <>`.
:type hour: DuplicateType :type hour: DuplicateType
:param .Cls extcls: A class from another module. :param .Cls extcls: A class from another module.
.. raw:: latex
\begingroup
\let\oldhref\href
\def\href{\ifnum\catcode`\-=\active\errorwithsphinxhref\fi\oldhref}
.. class:: MyClass .. class:: MyClass
.. attribute:: config .. attribute:: config
@ -110,6 +116,10 @@ Referring to :func:`nothing <>`.
A configuration object. A configuration object.
.. raw:: latex
\endgroup
C items C items
======= =======