diff options
Diffstat (limited to 'dev-python/async_generator')
| -rw-r--r-- | dev-python/async_generator/async_generator-1.10.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/async_generator/async_generator-1.10.ebuild b/dev-python/async_generator/async_generator-1.10.ebuild index c6c5238e1f46..011b3f239fe2 100644 --- a/dev-python/async_generator/async_generator-1.10.ebuild +++ b/dev-python/async_generator/async_generator-1.10.ebuild @@ -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 +} |
