dev-python/pytest-describe: disable pytest-capturelog plugin
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 5 Aug 2018 14:09:18 +0000 (16:09 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 5 Aug 2018 14:09:35 +0000 (16:09 +0200)
Closes: https://bugs.gentoo.org/662820
Package-Manager: Portage-2.3.44, Repoman-2.3.10

dev-python/pytest-describe/pytest-describe-0.11.1.ebuild

index 33283659c14537f545c0c7d94611c77f9c005a70..a875b33d9f8ec7cc48bdee690a8e732d48258e71 100644 (file)
@@ -24,7 +24,7 @@ DEPEND="
        test? ( >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}] )"
 
 python_test() {
-       # We need to disable flaky plugin because test_custom_prefix test validates
-       # pytest output and output from flaky plugin would appear unexpectedly
-       PYTEST_ADDOPTS="-p no:flaky" pytest -vv || die "Tests failed under ${EPYTHON}"
+       # We need to disable some plugins because tests don't like unexpected
+       # output
+       PYTEST_ADDOPTS="-p no:flaky -p no:capturelog" pytest -vv || die "Tests failed under ${EPYTHON}"
 }