Skip to content

Commit 276aed7

Browse files
committed
f strings
1 parent 7e5279e commit 276aed7

File tree

1 file changed

+3
-11
lines changed
  • hypothesis-python/src/hypothesis/internal/conjecture

1 file changed

+3
-11
lines changed

hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -533,17 +533,9 @@ def s(n):
533533
continue
534534

535535
self.debug(
536-
" * %s made %d call%s of which "
537-
"%d shrank and %d were misaligned, deleting %d byte%s."
538-
% (
539-
p.name,
540-
p.calls,
541-
s(p.calls),
542-
p.shrinks,
543-
p.misaligned,
544-
p.deletions,
545-
s(p.deletions),
546-
)
536+
f" * {p.name} made {p.calls} call{s(p.calls)} of which "
537+
f"{p.shrinks} shrank and {p.misaligned} were misaligned, "
538+
f"deleting {p.deletions} byte{s(p.deletions)}."
547539
)
548540
self.debug("")
549541
self.explain()

0 commit comments

Comments
 (0)