Skip to content

Commit

Permalink
Add no cover clause to code that can't be executed
Browse files Browse the repository at this point in the history
  • Loading branch information
staadecker committed Mar 28, 2024
1 parent 6b7ee6a commit 6b69a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyoframe/arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_indices(expr):
"Dataframe has unmatched values. If this is intentional, use .drop_unmatched() or .keep_unmatched()\n"
+ str(unmatched)
)
else:
else: # pragma: no cover
assert False, "This code should've never been reached!"

expr_data = [left_data, right_data]
Expand Down

0 comments on commit 6b69a5a

Please sign in to comment.