From cfd47eb1d2540122ca87dd6fd324f223529bd1fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 16 May 2020 10:02:56 +0200 Subject: [PATCH] dev-python/path-py: Disable fragile timing tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/path-py/path-py-11.5.2.ebuild | 3 +++ dev-python/path-py/path-py-12.0.2-r2.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dev-python/path-py/path-py-11.5.2.ebuild b/dev-python/path-py/path-py-11.5.2.ebuild index c95f162bf185..dd854041c4dd 100644 --- a/dev-python/path-py/path-py-11.5.2.ebuild +++ b/dev-python/path-py/path-py-11.5.2.ebuild @@ -44,6 +44,9 @@ python_prepare_all() { sed -i -r 's: --flake8:: ; s: --black:: ; s: --cov::' \ pytest.ini || die + # fragile test for import time + sed -i -e 's:test_import_time:_&:' test_path.py || die + distutils-r1_python_prepare_all } diff --git a/dev-python/path-py/path-py-12.0.2-r2.ebuild b/dev-python/path-py/path-py-12.0.2-r2.ebuild index 511276e331da..caa323eb0ce0 100644 --- a/dev-python/path-py/path-py-12.0.2-r2.ebuild +++ b/dev-python/path-py/path-py-12.0.2-r2.ebuild @@ -47,6 +47,9 @@ python_prepare_all() { sed -i -r 's: --flake8:: ; s: --black:: ; s: --cov::' \ pytest.ini || die + # fragile test for import time + sed -i -e 's:test_import_time:_&:' test_path.py || die + distutils-r1_python_prepare_all } -- 2.26.2