Skip to content

Commit

Permalink
Remove misleading comment and no-cover
Browse files Browse the repository at this point in the history
  • Loading branch information
jobh committed Jul 2, 2024
1 parent d2cd1c5 commit c8943f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hypothesis-python/src/hypothesis/internal/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ def __balance(self, i):
self.__swap(parent, i)
i = parent
else:
# This branch is never taken on versions of Python where dicts
# preserve their insertion order (pypy or cpython >= 3.7)
break # pragma: no cover
break
while True:
children = [j for j in (2 * i + 1, 2 * i + 2) if j < len(self.data)]
if len(children) == 2:
Expand Down

0 comments on commit c8943f6

Please sign in to comment.