summaryrefslogtreecommitdiff
path: root/community/python-hypothesis/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-09 08:55:16 +0100
committerErich Eckner <git@eckner.net>2018-01-09 08:55:16 +0100
commit2dd45a6b7fad1eac2c533d28428384b5501f5277 (patch)
tree3173528782162a395623c19ab444b8f7aa928bd8 /community/python-hypothesis/PKGBUILD
parentc90f8821a7a72b49d616dad6391535968ad5d713 (diff)
downloadpackages-2dd45a6b7fad1eac2c533d28428384b5501f5277.tar.xz
community/python-hypothesis: test taking too long is not an error (for us)
Diffstat (limited to 'community/python-hypothesis/PKGBUILD')
-rw-r--r--community/python-hypothesis/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/python-hypothesis/PKGBUILD b/community/python-hypothesis/PKGBUILD
new file mode 100644
index 00000000..b99b708b
--- /dev/null
+++ b/community/python-hypothesis/PKGBUILD
@@ -0,0 +1,8 @@
+eval "$(
+ declare -f prepare | \
+ sed '
+ 2 a \
+ find hypothesis-python-$pkgver/tests -type f -name '"'"'*.py'"'"' \\\
+ -exec sed -i '"'"'/^\\s*@settings(suppress_health_check=/s/HealthCheck\\.too_slow/\\0, HealthCheck.hung_test/g'"'"' {} \\;
+ '
+)"