Skip to content

Commit fc3d9f4

Browse files
committed
Don't measure coverage for nearly impossible state
1 parent 43d9f7b commit fc3d9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmodernize/fixes/fix_metaclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def fixup_parse_tree(cls_node):
6868
if node.type == token.COLON:
6969
break
7070
else:
71-
raise ValueError("No class suite and no ':'!")
71+
raise ValueError("No class suite and no ':'!") # pragma: no cover
7272

7373
# move everything into a suite node
7474
suite = Node(syms.suite, [])

0 commit comments

Comments
 (0)