dev-python/async_generator: Fix conftest.py ImportMismatchError

Closes: https://bugs.gentoo.org/733162
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico
2020-07-19 01:21:21 -07:00
parent a539cdf64f
commit 6da83d3c58

View File

@@ -17,4 +17,9 @@ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
DOCS=( README.rst )
distutils_enable_tests pytest
python_test() {
pushd "${BUILD_DIR}/lib" >/dev/null || die
pytest -vv || die "Tests fail with ${EPYTHON}"
rm -rf .pytest_cache || die
popd >/dev/null || die
}