Skip to content

Commit b511197

Browse files
committed
fix(tests): derandomize + no deadline for flaky Windows hypothesis test
1 parent 2078d37 commit b511197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_binary_detection_with_null_byte(data, null_offset):
5252

5353

5454
@given(st.binary(min_size=10, max_size=1000).filter(lambda x: b"\x00" not in x))
55-
@settings(max_examples=50)
55+
@settings(max_examples=50, derandomize=True, deadline=None)
5656
def test_text_file_not_detected_as_binary(data):
5757
with tempfile.TemporaryDirectory() as tmp_dir:
5858
f = Path(tmp_dir) / "test.txt"

0 commit comments

Comments
 (0)