From 870b8bb277eb7d876ff8d5482a0b1454fa6b3784 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Wed, 22 Aug 2018 11:05:51 +0200 Subject: dev-python/colorama: run tests with 'script' to make stdout a TTY Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- dev-python/colorama/colorama-0.3.9-r1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dev-python/colorama') 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}" } -- cgit v1.2.3-65-gdbad