From 2dd45a6b7fad1eac2c533d28428384b5501f5277 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 9 Jan 2018 08:55:16 +0100 Subject: community/python-hypothesis: test taking too long is not an error (for us) --- community/python-hypothesis/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 community/python-hypothesis/PKGBUILD (limited to 'community/python-hypothesis') 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'"'"' {} \\; + ' +)" -- cgit v1.2.3