Skip to content

Commit

Permalink
Use correct comment for skipping branch coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kimt33 committed Jun 24, 2019
1 parent 697e0d0 commit f8a6677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfns/ham/generalized_chemical.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def param_ind_to_rowcol_ind(self, param_ind):
# pylint: disable=C0103
# ind = i
n = self.nspin
for k in range(n + 1): # pragma: no cover
for k in range(n + 1): # pragma: no branch
x = k
if param_ind - n * (x + 1) + (x + 1) * (x + 2) / 2 < 0:
break
Expand Down

0 comments on commit f8a6677

Please sign in to comment.