dev-python/black: Install before testing

Closes: https://bugs.gentoo.org/750002
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-07-25 12:37:29 +02:00
parent 59780f9626
commit 8ff9f45efe
2 changed files with 2 additions and 0 deletions

View File

@@ -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"
}

View File

@@ -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"
}