summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-19 10:23:59 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-19 10:44:33 +0100
commit5ef32cb948a2bafb962924051a277f2fce74f08c (patch)
tree243de3fc4c2188b1646d970d04f5433d82206f62 /dev-python
parentapp-text/calibre: Stabilize 5.44.0-r2 amd64, #917579 (diff)
downloadgentoo-5ef32cb948a2bafb962924051a277f2fce74f08c.tar.gz
gentoo-5ef32cb948a2bafb962924051a277f2fce74f08c.tar.bz2
gentoo-5ef32cb948a2bafb962924051a277f2fce74f08c.zip
dev-python/pyfakefs: Deselect a regressing test on py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyfakefs/pyfakefs-5.3.0.ebuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild
index 10285776eca0..c34b2eaeac96 100644
--- a/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild
+++ b/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild
@@ -25,11 +25,22 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv
distutils_enable_tests pytest
python_test() {
+ local EPYTEST_DESELECT=()
local EPYTEST_IGNORE=(
# test for regression with opentimelineio package
pyfakefs/pytest_tests/segfault_test.py
)
+ case ${EPYTHON} in
+ python3.12)
+ EPYTEST_DESELECT+=(
+ # happens with pandas + zstandard [cffi backend]
+ # https://github.com/pytest-dev/pyfakefs/issues/910
+ pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_{csv,table}
+ )
+ ;;
+ esac
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p pyfakefs.pytest_plugin
}