1 |
commit: cedfe094ffd2ebd8746512595097f8ed2291a84e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 13 08:34:36 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 13 09:03:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cedfe094 |
7 |
|
8 |
dev-python/pytest: Backport test fixes to 4.6.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest/pytest-4.6.9.ebuild | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pytest/pytest-4.6.9.ebuild b/dev-python/pytest/pytest-4.6.9.ebuild |
16 |
index 620cc642d58..b0edb8058fe 100644 |
17 |
--- a/dev-python/pytest/pytest-4.6.9.ebuild |
18 |
+++ b/dev-python/pytest/pytest-4.6.9.ebuild |
19 |
@@ -52,6 +52,9 @@ DEPEND=" |
20 |
dev-python/pytest-xdist[${PYTHON_USEDEP}] |
21 |
dev-python/requests[${PYTHON_USEDEP}] |
22 |
!!dev-python/flaky |
23 |
+ !!dev-python/pytest-aiohttp |
24 |
+ !!dev-python/pytest-asyncio |
25 |
+ !!dev-python/pytest-django |
26 |
)" |
27 |
|
28 |
PATCHES=( |
29 |
@@ -69,6 +72,8 @@ python_prepare_all() { |
30 |
} |
31 |
|
32 |
python_test() { |
33 |
+ distutils_install_for_testing |
34 |
+ |
35 |
# In v4.1.1, pytest started being picky about its own verbosity options. |
36 |
# running pytest on itself with -vv made 3 tests fail. This is why we don't |
37 |
# have it below. |