29 lines
941 B
Diff
29 lines
941 B
Diff
|
|
diff -Nru hpack-4.1.0.orig/tests/test_hpack.py hpack-4.1.0/tests/test_hpack.py
|
||
|
|
--- hpack-4.1.0.orig/tests/test_hpack.py 2024-11-23 09:35:36.000000000 +0100
|
||
|
|
+++ hpack-4.1.0/tests/test_hpack.py 2025-02-04 12:22:54.679696648 +0100
|
||
|
|
@@ -1,7 +1,7 @@
|
||
|
|
import itertools
|
||
|
|
import pytest
|
||
|
|
|
||
|
|
-from hypothesis import given
|
||
|
|
+from hypothesis import given, settings, HealthCheck
|
||
|
|
from hypothesis.strategies import text, binary, sets, one_of
|
||
|
|
|
||
|
|
from hpack import (
|
||
|
|
@@ -767,6 +767,7 @@
|
||
|
|
binary().filter(lambda k: k and not k.startswith(b':'))
|
||
|
|
)
|
||
|
|
|
||
|
|
+ @settings(suppress_health_check=[HealthCheck.too_slow])
|
||
|
|
@given(
|
||
|
|
special_keys=sets(keys),
|
||
|
|
boring_keys=sets(keys),
|
||
|
|
@@ -804,6 +805,7 @@
|
||
|
|
assert special_keys == received_special
|
||
|
|
assert boring_keys == received_boring
|
||
|
|
|
||
|
|
+ @settings(suppress_health_check=[HealthCheck.too_slow])
|
||
|
|
@given(
|
||
|
|
special_keys=sets(keys),
|
||
|
|
boring_keys=sets(keys),
|