1 |
commit: bc02e16fabc12a287f4beb0c628218458ca1d67a |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 21 13:23:23 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 21 14:00:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc02e16f |
7 |
|
8 |
dev-python/subprocess-tee: skip tests triggering issues with dev-python/enrich |
9 |
|
10 |
Closes: https://bugs.gentoo.org/866051 |
11 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
12 |
|
13 |
dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild | 8 +++++++- |
14 |
1 file changed, 7 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild |
17 |
index ea05ad858dc4..07ec6f767cea 100644 |
18 |
--- a/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild |
19 |
+++ b/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild |
20 |
@@ -24,11 +24,17 @@ BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] |
21 |
test-full? ( app-admin/ansible-molecule ) |
22 |
)" |
23 |
|
24 |
+# With the exception of a handful of extra lines this is literally the same test suite |
25 |
+# as test_console.py from dev-python/enrich, which is currently known to fail (Bug #865497). |
26 |
+EPYTEST_DESELECT=( |
27 |
+ src/subprocess_tee/test/test_rich.py |
28 |
+) |
29 |
+ |
30 |
distutils_enable_tests pytest |
31 |
|
32 |
python_test() { |
33 |
if ! use test-full; then |
34 |
- local -x EPYTEST_DESELECT=( "src/${PN/-/_}/test/test_func.py::test_molecule" ) |
35 |
+ EPYTEST_DESELECT+=( "src/${PN/-/_}/test/test_func.py::test_molecule" ) |
36 |
fi |
37 |
distutils-r1_python_test |
38 |
} |