mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-28 12:21:10 -04:00
dev-python/pytest-codeblock: add a missing || die
Fixes: 30fd1f48bc
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
1 file changed
+2
-2
@@ -34,10 +34,10 @@ distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# Tests call `pytest` as well, so let's avoid code coverage altogether
|
||||
sed -e '/addopts/,/^]$/d' -i pyproject.toml
|
||||
sed -e '/addopts/,/^]$/d' -i pyproject.toml || die
|
||||
|
||||
# Having this variable set breaks all Django related tests
|
||||
sed -e "/DJANGO_SETTINGS_MODULE/d" -i pyproject.toml
|
||||
sed -e "/DJANGO_SETTINGS_MODULE/d" -i pyproject.toml || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
Reference in new issue
Block a user