Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flexmock/
Date: Tue, 24 Aug 2021 18:17:23
Message-Id: 1629828939.de43c83cfc12bbd0e0594bf654db45032e32e52f.arthurzam@gentoo
1 commit: de43c83cfc12bbd0e0594bf654db45032e32e52f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 24 18:13:43 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 24 18:15:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de43c83c
7
8 dev-python/flexmock: fix tests with dev-python/flaky
9
10 When dev-python/flaky is installed, a lot of tests fail, so disable
11 the pytest plugin when running tests.
12
13 Reported-by: Michał Górny <mgorny <AT> gentoo.org>
14 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
15
16 dev-python/flexmock/flexmock-0.10.6.ebuild | 4 ++++
17 1 file changed, 4 insertions(+)
18
19 diff --git a/dev-python/flexmock/flexmock-0.10.6.ebuild b/dev-python/flexmock/flexmock-0.10.6.ebuild
20 index 7280fd3db06..67922e50909 100644
21 --- a/dev-python/flexmock/flexmock-0.10.6.ebuild
22 +++ b/dev-python/flexmock/flexmock-0.10.6.ebuild
23 @@ -21,6 +21,10 @@ PATCHES=(
24 "${FILESDIR}/${P}-fix-with_args-sys.stdout.write.patch"
25 )
26
27 +python_test() {
28 + epytest -p no:flaky
29 +}
30 +
31 python_install_all() {
32 distutils-r1_python_install_all
33 dodoc -r docs