Skip to content

Commit 2708c4a

Browse files
committed
Make linter happy, add a healthcheck ignore
1 parent 8f389b8 commit 2708c4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hypothesis-python/tests/conjecture/test_float_encoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_floats_round_trip(f):
8080
assert float_to_int(f) == float_to_int(g)
8181

8282

83-
@settings(suppress_health_check=[HealthCheck.too_slow])
83+
@settings(suppress_health_check=[HealthCheck.too_slow, HealthCheck.filter_too_much])
8484
@example(1, 0.5)
8585
@given(st.integers(1, 2**53), st.floats(0, 1).filter(lambda x: x not in (0, 1)))
8686
def test_floats_order_worse_than_their_integral_part(n, g):

hypothesis-python/tests/nocover/test_recursive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def at_depth(depth, fn):
216216
return at_depth(depth - 1, fn)
217217

218218
def gen_cycles():
219-
for i in range(NUM_CYCLES):
219+
for _ in range(NUM_CYCLES):
220220
a = [None]
221221
b = [a]
222222
a[0] = b

0 commit comments

Comments
 (0)