1 |
commit: c6281e3efd0a2b60bf11dc6a074165333b34b83c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 10:56:38 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 11:09:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6281e3e |
7 |
|
8 |
dev-python/watchgod: Enable pypy3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/watchgod/watchgod-0.8.1.ebuild | 15 +++++++++++---- |
13 |
1 file changed, 11 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/watchgod/watchgod-0.8.1.ebuild b/dev-python/watchgod/watchgod-0.8.1.ebuild |
16 |
index be3e64483bb4..4e6dd5a7db55 100644 |
17 |
--- a/dev-python/watchgod/watchgod-0.8.1.ebuild |
18 |
+++ b/dev-python/watchgod/watchgod-0.8.1.ebuild |
19 |
@@ -35,10 +35,6 @@ BDEPEND=" |
20 |
|
21 |
distutils_enable_tests pytest |
22 |
|
23 |
-EPYTEST_DESELECT=( |
24 |
- # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84 |
25 |
- tests/test_watch.py::test_awatch_log |
26 |
-) |
27 |
|
28 |
src_prepare() { |
29 |
# increase timeout |
30 |
@@ -46,3 +42,14 @@ src_prepare() { |
31 |
|
32 |
distutils-r1_src_prepare |
33 |
} |
34 |
+ |
35 |
+python_test() { |
36 |
+ local EPYTEST_DESELECT=( |
37 |
+ # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84 |
38 |
+ tests/test_watch.py::test_awatch_log |
39 |
+ ) |
40 |
+ [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
41 |
+ tests/test_watch.py::test_does_not_exist |
42 |
+ ) |
43 |
+ epytest |
44 |
+} |