Skip to content

Commit ae5795f

Browse files
committed
hypothesis/statistics.py:52
1 parent 1a7e84f commit ae5795f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypothesis-python/src/hypothesis/statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def format_ms(times):
4848
"""
4949
ordered = sorted(times)
5050
n = len(ordered) - 1
51-
if n < 0 or any(math.isnan(t) for t in ordered):
51+
if n < 0 or any(math.isnan(t) for t in ordered): # pragma: no cover
5252
return "NaN ms"
5353
lower = int(ordered[int(math.floor(n * 0.05))] * 1000)
5454
upper = int(ordered[int(math.ceil(n * 0.95))] * 1000)

0 commit comments

Comments
 (0)