commit: cfd47eb1d2540122ca87dd6fd324f223529bd1fa
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 08:02:56 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 16 09:07:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd47eb1
dev-python/path-py: Disable fragile timing tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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 c95f162bf18..dd854041c4d 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 511276e331d..caa323eb0ce 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
}