* Tests are successful on both amd64 and arm64 but pytest was leaving behind the
.pytest_cache dir causing a subsequent merge to fail.
* add the cache_dir option to pytest call so that tests are run from ${T}
Signed-off-by: Aaron Bauman <bman@gentoo.org>
if [[ ${EPYTHON} == pypy* ]]; then
sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die
fi
- pytest -vv || die
+ pytest -o cache_dir="${T}" -vv || die
popd > /dev/null || die
}
if [[ ${EPYTHON} == pypy* ]]; then
sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die
fi
- pytest -vv || die
+ pytest -o cache_dir="${T}" -vv || die
popd > /dev/null || die
}