From: Louis Sautier Date: Wed, 22 Aug 2018 09:05:51 +0000 (+0200) Subject: dev-python/colorama: run tests with 'script' to make stdout a TTY X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=870b8bb277eb7d876ff8d5482a0b1454fa6b3784;p=gentoo.git dev-python/colorama: run tests with 'script' to make stdout a TTY Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- diff --git a/dev-python/colorama/colorama-0.3.9-r1.ebuild b/dev-python/colorama/colorama-0.3.9-r1.ebuild index 05ea77f60e5f..31476d291ca5 100644 --- a/dev-python/colorama/colorama-0.3.9-r1.ebuild +++ b/dev-python/colorama/colorama-0.3.9-r1.ebuild @@ -36,9 +36,8 @@ python_install_all() { } python_test() { - # Skip two tests which seem to fail when stdout isn't a TTY + # Some tests require stdout to be a TTY # https://github.com/tartley/colorama/issues/169 - pytest -vv -k "not (testInitDoesntWrapOnEmulatedWindows \ - or testInitDoesntWrapOnNonWindows)" \ + script -eqc "pytest -vv -s" /dev/null \ || die "tests failed with ${EPYTHON}" }