dev-python/google-api-core: Fix ns-related test failures

Closes: https://bugs.gentoo.org/838064
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-04-12 15:24:35 +02:00
parent e1334ba4a7
commit 2e5c3d5e91

View File

@@ -59,8 +59,12 @@ python_compile() {
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
src_test() {
rm -r google || die
distutils-r1_src_test
}
python_test() {
distutils_write_namespace google
cd "${T}" || die
epytest -p no:aiohttp -p no:trio "${S}/tests"
epytest -p no:aiohttp -p no:trio tests
}