From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- .../files/hpack-3.0.0-hypothesis-healthcheck.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-python/hpack/files/hpack-3.0.0-hypothesis-healthcheck.patch (limited to 'dev-python/hpack/files') diff --git a/dev-python/hpack/files/hpack-3.0.0-hypothesis-healthcheck.patch b/dev-python/hpack/files/hpack-3.0.0-hypothesis-healthcheck.patch new file mode 100644 index 000000000000..aaabac3b3046 --- /dev/null +++ b/dev-python/hpack/files/hpack-3.0.0-hypothesis-healthcheck.patch @@ -0,0 +1,21 @@ +diff --git a/test/conftest.py b/test/conftest.py +index f5801da..c5e3c66 100644 +--- a/test/conftest.py ++++ b/test/conftest.py +@@ -4,11 +4,16 @@ import os + import json + import sys + ++from hypothesis import settings, HealthCheck + from hypothesis.strategies import text + + if sys.version_info[0] == 2: + from codecs import open + ++settings.register_profile("gentoo", ++ suppress_health_check=(HealthCheck.too_slow,)) ++settings.load_profile("gentoo") ++ + # We need to grab one text example from hypothesis to prime its cache. + text().example() + -- cgit v1.3