projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4e2c0
)
dev-python/colorama: run tests with 'script' to make stdout a TTY
author
Louis Sautier
<sbraz@gentoo.org>
Wed, 22 Aug 2018 09:05:51 +0000
(11:05 +0200)
committer
Louis Sautier
<sbraz@gentoo.org>
Wed, 22 Aug 2018 15:12:31 +0000
(17:12 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10
dev-python/colorama/colorama-0.3.9-r1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/colorama/colorama-0.3.9-r1.ebuild
b/dev-python/colorama/colorama-0.3.9-r1.ebuild
index 05ea77f60e5f19f68a7ff25b4c6a3d420c06730c..31476d291ca5a3a17958bba339f268840f0771fd 100644
(file)
--- 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() {
- # S
kip two tests which seem to fail when stdout isn't
a TTY
+ # S
ome 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}"
}