commit: 97c60289957742fd07167f0cccd2427048d2f167
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 25 07:10:04 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun 25 07:14:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c60289
dev-python/pytest-bdd: skip test broken with current gherkin-official
Just noticed when running the test suite again, does not seem to break
the only revdep (qutebrowser) and would rather not restore and pin to
older gherkin-official, so just skip for now (unsure for the latest
version that worked but at least 30.0.4 was fine).
At same time cleanup unnecessary comments and keep a note for EAPI=9
which disables autoload by default when EPYTEST_PLUGINS is empty.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
b/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
index 1671498e5438..1d7c8b96a927 100644
--- a/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
+++ b/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
@@ -37,12 +37,14 @@ PATCHES=(
)
src_test() {
- # terminal_reporter test needs exact wrapping
local -x COLUMNS=80
-
- # hooks output parsing may be affected by other pytest-*, e.g. tornasync
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # default in EAPI=9
local -x PYTEST_PLUGINS=pytest_bdd.plugin
+ local EPYTEST_DESELECT=(
+ # https://github.com/pytest-dev/pytest-bdd/issues/779
+ test_errors.py::test_step_outside_scenario_or_background_error
+ )
+
distutils-r1_src_test
}