diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-11-07 01:06:49 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-11-07 03:37:54 -0500 |
commit | 962c606ee97f5af92821e5acf6af7f0701ac5095 (patch) | |
tree | 01812fbd6abe2109f70399c9c67acf36447d10f1 /dev-python/pytest-bdd | |
parent | dev-lang/erlang: Bump (diff) | |
download | gentoo-962c606ee97f5af92821e5acf6af7f0701ac5095.tar.gz gentoo-962c606ee97f5af92821e5acf6af7f0701ac5095.tar.bz2 gentoo-962c606ee97f5af92821e5acf6af7f0701ac5095.zip |
dev-python/pytest-bdd: re-enable terminal test using COLUMNS
Hadn't thought about it before.
Thanks-to: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/pytest-bdd')
-rw-r--r-- | dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild | 10 |
1 files 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 f0ca5bb62830..c3be9a1f2c6a 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 +} |