Skip to content

Commit af94151

Browse files
committed
Update docs to clarify boolean logic of comments.
1 parent 9fd25c8 commit af94151

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc-source/syntax.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ These can also be combined with the Python version:
4141
.. code-block:: python
4242
4343
# pragma: no cover (<=py36 !Windows !CPython)
44+
45+
This will ignore coverage (or lack thereof) for the branch if all three conditions are satisfied
46+
(Python 3.6 or earlier AND not Windows AND not CPython).
47+
It is not currently possible to ignore a branch if EITHER condition is true.

0 commit comments

Comments
 (0)