Skip to content

Commit

Permalink
It is difficult to perform doctest validation that includes `Exceptio…
Browse files Browse the repository at this point in the history
…n ignored in: ...`, so use a `pycon` code block instead.
  • Loading branch information
junkmd committed Dec 27, 2024
1 parent 5e51768 commit 957ccdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/com_interfaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ The ``IUnknown`` as a Python class
if ``Release`` is called at the aforementioned timing, it may
raise an ``OSError``.

.. doctest::
.. sourcecode:: pycon

>>> from comtypes.client import CreateObject, GetModule
>>> GetModule('UIAutomationCore.dll') # doctest: +ELLIPSIS
Expand Down

0 comments on commit 957ccdf

Please sign in to comment.