From: "Moritz Brunner" <moritz.brunner+gentoo@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/PyPubSub/
Date: Mon, 1 Jan 2024 12:37:03 +0000 (UTC) [thread overview]
Message-ID: <1704112002.c0e466a9fee41408c85478a2cd967fa7904bbbc0.moritz.brunner+gentoo@gentoo> (raw)
commit: c0e466a9fee41408c85478a2cd967fa7904bbbc0
Author: Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
AuthorDate: Sun Dec 31 20:25:27 2023 +0000
Commit: Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
CommitDate: Mon Jan 1 12:26:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0e466a9
dev-python/PyPubSub: Change working directory for test runner
The default pytest test runner doesn't find the test cases
unless it is run in the correct directory.
Closes: https://bugs.gentoo.org/916697
Signed-off-by: Moritz Brunner <moritz.brunner+gentoo <AT> posteo.de>
dev-python/PyPubSub/PyPubSub-4.0.3.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild b/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
index 0b0e1876e4..c65dc950f9 100644
--- a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
+++ b/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
@@ -28,8 +28,9 @@ BDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
)"
+distutils_enable_tests pytest
+
python_test() {
- py.test -v -v || die
+ cd tests/suite
+ distutils-r1_python_test
}
-
-distutils_enable_tests pytest
next reply other threads:[~2024-01-01 12:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-01 12:37 Moritz Brunner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-20 17:05 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/PyPubSub/ Lucio Sauer
2024-01-01 12:37 Moritz Brunner
2023-11-01 23:16 Benoît Dufour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1704112002.c0e466a9fee41408c85478a2cd967fa7904bbbc0.moritz.brunner+gentoo@gentoo \
--to=moritz.brunner+gentoo@posteo.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox