commit: 07c89b58e2103d0ab87ff403e46b9d37dd0a560f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 1 18:08:44 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 1 18:43:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c89b58
dev-python/gssapi: fix test calls
Use better way to handle pytest C errors
Fixes: 38695c204978839a830c4800e9ab669dcbc391f0
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/gssapi/gssapi-1.7.2.ebuild | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dev-python/gssapi/gssapi-1.7.2.ebuild
b/dev-python/gssapi/gssapi-1.7.2.ebuild
index 3879ab4da406..491966350410 100644
--- a/dev-python/gssapi/gssapi-1.7.2.ebuild
+++ b/dev-python/gssapi/gssapi-1.7.2.ebuild
@@ -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
}