1 |
commit: e7c961f4193e66b95d9c4a16cfc89e5b98bac4ad |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sat Oct 23 13:52:42 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sat Oct 23 14:02:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7c961f4 |
7 |
|
8 |
dev-python/manhole: deselect test_log_fh on pypy3 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/manhole/manhole-1.8.0-r1.ebuild | 33 ++++++++++++++++++++---------- |
13 |
1 file changed, 22 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
16 |
index 191643bea..ba33885ff 100644 |
17 |
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild |
18 |
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
19 |
@@ -34,14 +34,25 @@ DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) |
20 |
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
21 |
distutils_enable_tests --install pytest |
22 |
|
23 |
-EPYTEST_DESELECT=( |
24 |
- "tests/test_manhole.py::test_non_daemon_connection" |
25 |
- "tests/test_manhole.py::test_daemon_connection" |
26 |
- "tests/test_manhole.py::test_uwsgi" |
27 |
- "tests/test_manhole.py::test_fork_exec" |
28 |
- "tests/test_manhole.py::test_connection_handler_exec[str]" |
29 |
- "tests/test_manhole.py::test_connection_handler_exec[func]" |
30 |
- "tests/test_manhole.py::test_environ_variable_activation" |
31 |
- "tests/test_manhole.py::test_stderr_doesnt_deadlock" |
32 |
- "tests/test_manhole_cli.py" |
33 |
-) |
34 |
+python_test() { |
35 |
+ local EPYTEST_DESELECT=( |
36 |
+ tests/test_manhole.py::test_connection_handler_exec |
37 |
+ tests/test_manhole.py::test_non_daemon_connection |
38 |
+ tests/test_manhole.py::test_daemon_connection |
39 |
+ tests/test_manhole.py::test_fork_exec |
40 |
+ tests/test_manhole.py::test_uwsgi |
41 |
+ tests/test_manhole_cli.py::test_help |
42 |
+ ) |
43 |
+ |
44 |
+ # usually passes but sometimes fails (bug #792225) |
45 |
+ EPYTEST_DESELECT+=( tests/test_manhole.py::test_stderr_doesnt_deadlock ) |
46 |
+ |
47 |
+ if [[ ${EPYTHON} == pypy3 ]]; then |
48 |
+ EPYTEST_DESELECT+=( |
49 |
+ tests/test_manhole.py::test_log_fh |
50 |
+ tests/test_manhole.py::test_environ_variable_activation |
51 |
+ ) |
52 |
+ fi |
53 |
+ |
54 |
+ epytest |
55 |
+} |