summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/black/black-21.6_beta0.ebuild1
-rw-r--r--dev-python/black/black-21.7_beta0.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/black/black-21.6_beta0.ebuild b/dev-python/black/black-21.6_beta0.ebuild
index 0675c52604d..43103259dff 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 90c10c9ed7a..290023b3cca 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"
}