commit:     962c606ee97f5af92821e5acf6af7f0701ac5095
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  7 05:06:49 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Nov  7 08:37:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962c606e

dev-python/pytest-bdd: re-enable terminal test using COLUMNS

Hadn't thought about it before.

Thanks-to: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild 
b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
index f0ca5bb6283..c3be9a1f2c6 100644
--- a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
+++ b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
@@ -26,7 +26,9 @@ distutils_enable_tests --install pytest
 
 DOCS=( AUTHORS.rst CHANGES.rst README.rst )
 
-EPYTEST_DESELECT=(
-       # result varies depending on current output terminal width
-       
tests/feature/test_gherkin_terminal_reporter.py::test_verbose_mode_should_preserve_displaying_regular_tests_as_usual
-)
+src_test() {
+       # terminal_reporter test needs exact wrapping
+       local -x COLUMNS=80
+
+       distutils-r1_src_test
+}

Reply via email to