Skip to content

Commit c2577d0

Browse files
committed
add some "# pragma: no cover"
1 parent 1f2f493 commit c2577d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

unpythonic/syntax/util.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -485,20 +485,20 @@ class ASTMarker(type):
485485
are defined on the metaclass, so e.g. ``SomeMarker.__enter__`` is valid.
486486
"""
487487
def __enter__(cls):
488-
pass
488+
pass # pragma: no cover
489489
def __exit__(cls, exctype, excvalue, traceback):
490-
pass
490+
pass # pragma: no cover
491491

492492
class ContinuationsMarker(metaclass=ASTMarker):
493493
"""AST marker for an expanded "with continuations" block."""
494-
pass
494+
pass # pragma: no cover
495495

496496
# must be "instantiated" because we need to pass information at macro expansion time using the ctor call syntax.
497497
class AutorefMarker(metaclass=ASTMarker):
498498
"""AST marker for an expanded "with autoref(o)" block."""
499499
def __init__(self, varname):
500-
pass
500+
pass # pragma: no cover
501501
def __enter__(cls):
502-
pass
502+
pass # pragma: no cover
503503
def __exit__(cls, exctype, excvalue, traceback):
504-
pass
504+
pass # pragma: no cover

0 commit comments

Comments
 (0)