commit:     5c94382a6b3bb024cf0f6a0a4ca17bad373c9341
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat May  8 12:37:53 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  9 11:35:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c94382a

dev-python/sniffio: Port to python3.10

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sniffio/sniffio-1.2.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/sniffio/sniffio-1.2.0.ebuild 
b/dev-python/sniffio/sniffio-1.2.0.ebuild
index 89f3dc32585..ea9fbac068c 100644
--- a/dev-python/sniffio/sniffio-1.2.0.ebuild
+++ b/dev-python/sniffio/sniffio-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 inherit distutils-r1
 
 DESCRIPTION="Sniff out which async library your code is running under"
@@ -26,6 +26,5 @@ python_test() {
                sniffio/_tests/test_sniffio.py::test_curio
        )
 
-       pytest -vv ${deselect[@]/#/--deselect } ||
-               die "Tests failed with ${EPYTHON}"
+       epytest ${deselect[@]/#/--deselect }
 }

Reply via email to