Skip to content

Commit

Permalink
Silence spurious branch coverage miss.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Dec 16, 2016
1 parent 269bd8a commit e393bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction/_manager.py
Expand Up @@ -182,7 +182,7 @@ def run(self, func=None, tries=3):
if doc and not isinstance(doc, text_type):
doc = doc.decode('utf-8')

for i in range(1, tries + 1):
for i in range(1, tries + 1): # pragma: no branch
txn = self.begin()
if doc:
txn.note(doc)
Expand Down

0 comments on commit e393bb3

Please sign in to comment.