Skip to content

Commit 77faa8b

Browse files
committed
Temporarily ignore coverage on lines_matching for Python 3.11+
1 parent 3f13543 commit 77faa8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage_pyver_pragma/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def evaluate_exclude(expression: str) -> bool:
7474

7575
class PythonParser(coverage.python.PythonParser):
7676

77-
def lines_matching(self, *regexes) -> Set[int]:
77+
def lines_matching(self, *regexes) -> Set[int]: # pragma: no cover (py311+) # TODO: why?
7878

7979
combined = join_regex([*regexes, *DEFAULT_EXCLUDE])
8080

0 commit comments

Comments
 (0)