commit:     5ef32cb948a2bafb962924051a277f2fce74f08c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 09:23:59 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 09:44:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef32cb9

dev-python/pyfakefs: Deselect a regressing test on py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyfakefs/pyfakefs-5.3.0.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

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
 }

Reply via email to