diff options
author | Louis Sautier <sbraz@gentoo.org> | 2018-08-22 11:05:51 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2018-08-22 17:12:31 +0200 |
commit | 870b8bb277eb7d876ff8d5482a0b1454fa6b3784 (patch) | |
tree | bb8b13eb8340a1fddb7587121f5338224c6bcf9b /dev-python/colorama | |
parent | net-misc/openssh: partial security cleanup (diff) | |
download | gentoo-870b8bb277eb7d876ff8d5482a0b1454fa6b3784.tar.gz gentoo-870b8bb277eb7d876ff8d5482a0b1454fa6b3784.tar.bz2 gentoo-870b8bb277eb7d876ff8d5482a0b1454fa6b3784.zip |
dev-python/colorama: run tests with 'script' to make stdout a TTY
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-python/colorama')
-rw-r--r-- | dev-python/colorama/colorama-0.3.9-r1.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
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}" } |