Skip doctest that fails on Python 3.11a3 (close RHBZ#2040164)

PMap order changes in Python 3.11a3, causing a doctest failure
https://github.com/tobgu/pyrsistent/issues/238
This commit is contained in:
Benjamin A. Beasley 2022-01-13 09:43:52 -05:00
parent 8b356091e2
commit bd4f93f6d1

View File

@ -135,8 +135,12 @@ PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='-n %{?_smp_mflags}'
%check
%pytest
# PMap order changes in Python 3.11a3, causing a doctest failure
# https://github.com/tobgu/pyrsistent/issues/238
# https://bugzilla.redhat.com/show_bug.cgi?id=2040164
# See tox.ini:
env PYTHONHASHSEED=0 %pytest --doctest-modules pyrsistent
env PYTHONHASHSEED=0 %pytest --doctest-modules pyrsistent \
-k 'not pyrsistent._pmap.PMap.update'
%files -n python3-pyrsistent -f %{pyproject_files}