dev-util/meson: skip testing with Python 3.5

The tests use subprocess.Popen(..., encoding='...'). The 'encoding'
parameter was added in Python 3.6.

Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2019-03-03 13:36:48 -05:00
parent 5d4877c0cb
commit ce3f254ee3
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -51,6 +51,11 @@ src_test() {
}
python_test() {
if [[ ${EPYTHON} == python3.5 ]]; then
ewarn "Skipping tests with ${EPYTHON}"
return 0
fi
(
# test_meson_installed
unset PYTHONDONTWRITEBYTECODE
+5
View File
@@ -51,6 +51,11 @@ src_test() {
}
python_test() {
if [[ ${EPYTHON} == python3.5 ]]; then
ewarn "Skipping tests with ${EPYTHON}"
return 0
fi
(
# test_meson_installed
unset PYTHONDONTWRITEBYTECODE