For the python coverage package, a missing else can be ignored for the resulting coverage by using # pragma: no branch.
It seems, that this is not working when breaking a long if statement in multiple lines like this:
if this_is_a_verylong_boolean_expression == True and another_long_expression \
and here_another_expression: # pragma: no branch
do_something()
Is this a bug of coverage or intended behavior?
Is there a way to handle these kind of multiline statements and ignore the missing branch in the coverage? Or do I just have to accept the missing branches in my coverage summary?