From eca17d1ff10e7d21ff8cb60a6e15fc92effe9e78 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 15 Oct 2018 20:14:58 +0200 Subject: [PATCH] python3-async-timeout: don't enable coverage for tests --- srcpkgs/python3-async-timeout/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-async-timeout/template b/srcpkgs/python3-async-timeout/template index 87807133623..297ff9e0bbc 100644 --- a/srcpkgs/python3-async-timeout/template +++ b/srcpkgs/python3-async-timeout/template @@ -8,7 +8,7 @@ build_style=python3-module pycompile_module="async_timeout" hostmakedepends="python3-setuptools" depends="python3" -checkdepends="python3-pytest-cov python3-pytest-asyncio" +checkdepends="python3-pytest-asyncio" short_desc="Timeout context manager for asyncio programs" maintainer="Michael Aldridge " license="Apache-2.0" @@ -18,5 +18,8 @@ distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz" checksum=d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949 do_check() { + # don't enable coverage + sed -i '/addopts=/d' setup.cfg + python3 -m pytest }