summaryrefslogtreecommitdiff
path: root/dev-python/pyquery/pyquery-2.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyquery/pyquery-2.0.0.ebuild')
-rw-r--r--dev-python/pyquery/pyquery-2.0.0.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-python/pyquery/pyquery-2.0.0.ebuild b/dev-python/pyquery/pyquery-2.0.0.ebuild
index e50b186b9133..2f5b1bede7f9 100644
--- a/dev-python/pyquery/pyquery-2.0.0.ebuild
+++ b/dev-python/pyquery/pyquery-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,13 +43,15 @@ python_test() {
# https://github.com/gawel/pyquery/issues/248
tests/test_pyquery.py::TestXMLNamespace::test_selector_html
)
- if [[ ${EPYTHON} == python3.12 ]]; then
- EPYTEST_DESELECT+=(
- # doctest failing because of changed repr()
- # https://github.com/gawel/pyquery/issues/249
- pyquery/pyquery.py::pyquery.pyquery.PyQuery.serialize_dict
- )
- fi
+ case ${EPYTHON} in
+ python3.1[23])
+ EPYTEST_DESELECT+=(
+ # doctest failing because of changed repr()
+ # https://github.com/gawel/pyquery/issues/249
+ pyquery/pyquery.py::pyquery.pyquery.PyQuery.serialize_dict
+ )
+ ;;
+ esac
epytest
}