1 |
commit: 962c606ee97f5af92821e5acf6af7f0701ac5095 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 7 05:06:49 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 08:37:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962c606e |
7 |
|
8 |
dev-python/pytest-bdd: re-enable terminal test using COLUMNS |
9 |
|
10 |
Hadn't thought about it before. |
11 |
|
12 |
Thanks-to: Michał Górny <mgorny <AT> gentoo.org> |
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild | 10 ++++++---- |
16 |
1 file changed, 6 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild |
19 |
index f0ca5bb6283..c3be9a1f2c6 100644 |
20 |
--- a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild |
21 |
+++ b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild |
22 |
@@ -26,7 +26,9 @@ distutils_enable_tests --install pytest |
23 |
|
24 |
DOCS=( AUTHORS.rst CHANGES.rst README.rst ) |
25 |
|
26 |
-EPYTEST_DESELECT=( |
27 |
- # result varies depending on current output terminal width |
28 |
- tests/feature/test_gherkin_terminal_reporter.py::test_verbose_mode_should_preserve_displaying_regular_tests_as_usual |
29 |
-) |
30 |
+src_test() { |
31 |
+ # terminal_reporter test needs exact wrapping |
32 |
+ local -x COLUMNS=80 |
33 |
+ |
34 |
+ distutils-r1_src_test |
35 |
+} |