mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/colorama: run tests with 'script' to make stdout a TTY
Package-Manager: Portage-2.3.48, Repoman-2.3.10
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user