summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-11 09:53:42 +0200
committerMichał Górny <mgorny@gentoo.org>2022-07-11 09:59:08 +0200
commit3e3dbeedcdb23ce54dd31ebe850344939d98bf28 (patch)
tree0f0a316e8ec32109d0383bc8c3db336cb915fe76 /dev-python/cherrypy
parentdev-python/cherrypy: Fix test instability (diff)
downloadgentoo-3e3dbeedcdb23ce54dd31ebe850344939d98bf28.tar.gz
gentoo-3e3dbeedcdb23ce54dd31ebe850344939d98bf28.tar.bz2
gentoo-3e3dbeedcdb23ce54dd31ebe850344939d98bf28.zip
dev-python/cherrypy: Restore deselects for py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cherrypy')
-rw-r--r--dev-python/cherrypy/cherrypy-18.7.0.ebuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/cherrypy/cherrypy-18.7.0.ebuild b/dev-python/cherrypy/cherrypy-18.7.0.ebuild
index 21233e3fc5f1..b1cedd9565ea 100644
--- a/dev-python/cherrypy/cherrypy-18.7.0.ebuild
+++ b/dev-python/cherrypy/cherrypy-18.7.0.ebuild
@@ -56,3 +56,14 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+ # broken by changes in traceback output
+ cherrypy/test/test_request_obj.py::RequestObjectTests::testErrorHandling
+ cherrypy/test/test_tools.py::ToolTests::testHookErrors
+ )
+
+ epytest
+}