From: Michał Górny Date: Sat, 16 May 2020 08:02:56 +0000 (+0200) Subject: dev-python/path-py: Disable fragile timing tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfd47eb1d2540122ca87dd6fd324f223529bd1fa;p=gentoo.git dev-python/path-py: Disable fragile timing tests Signed-off-by: Michał Górny --- 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 }