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:
parent
8b356091e2
commit
bd4f93f6d1
@ -135,8 +135,12 @@ PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='-n %{?_smp_mflags}'
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%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:
|
# 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}
|
%files -n python3-pyrsistent -f %{pyproject_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user