We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2078d37 commit b511197Copy full SHA for b511197
1 file changed
tests/test_properties.py
@@ -52,7 +52,7 @@ def test_binary_detection_with_null_byte(data, null_offset):
52
53
54
@given(st.binary(min_size=10, max_size=1000).filter(lambda x: b"\x00" not in x))
55
-@settings(max_examples=50)
+@settings(max_examples=50, derandomize=True, deadline=None)
56
def test_text_file_not_detected_as_binary(data):
57
with tempfile.TemporaryDirectory() as tmp_dir:
58
f = Path(tmp_dir) / "test.txt"
0 commit comments