diff --git a/dev-python/black/black-21.6_beta0.ebuild b/dev-python/black/black-21.6_beta0.ebuild index 0675c52604d40..43103259dffc8 100644 --- a/dev-python/black/black-21.6_beta0.ebuild +++ b/dev-python/black/black-21.6_beta0.ebuild @@ -46,6 +46,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} python_test() { cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die + distutils_install_for_testing epytest -m "not python2" } diff --git a/dev-python/black/black-21.7_beta0.ebuild b/dev-python/black/black-21.7_beta0.ebuild index 90c10c9ed7aa6..290023b3cca2e 100644 --- a/dev-python/black/black-21.7_beta0.ebuild +++ b/dev-python/black/black-21.7_beta0.ebuild @@ -42,6 +42,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} python_test() { cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die + distutils_install_for_testing epytest -m "not python2" }