dev-python/gssapi: fix test calls

Use better way to handle pytest C errors

Fixes: 38695c2049
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-02-01 20:08:44 +02:00
parent 02b6c8bb32
commit 07c89b58e2

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,7 +31,6 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
cp -r -l -n gssapi "${BUILD_DIR}/lib" || die
cd "${BUILD_DIR}/lib" || die
epytest
cd "${T}" || die
epytest --pyargs gssapi
}