Deselect 2 tests failing on Python 3.10, reported upstream

epel9
Miro Hrončok 4 years ago
parent feb7699e73
commit 6570743402

@ -81,12 +81,20 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1
%if %{with tests}
%check
%pytest -v -n auto \
%if "%{_arch}" == "s390x" %dnl # https://github.com/pandas-dev/pandas/commit/95a86a9884e
-k "not test_registered_from_entrypoint and not test_data_frames_with_timestamp_columns" \
%else
-k "not test_registered_from_entrypoint" \
k="not test_registered_from_entrypoint"
# https://github.com/HypothesisWorks/hypothesis/issues/3035
k="$k and not test_recursion_error_is_not_flaky"
# https://github.com/HypothesisWorks/hypothesis/issues/3036
k="$k and not test_ghostwriter_example_outputs[base64_magic]"
# https://github.com/pandas-dev/pandas/commit/95a86a9884e
%if "%{_arch}" == "s390x"
k="$k and not test_data_frames_with_timestamp_columns"
%endif
%pytest -v -n auto -k "$k" \
--ignore tests/codemods \
--ignore tests/dpcontracts \
--ignore tests/redis \
@ -112,6 +120,7 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1
* Mon Jul 19 2021 Miro Hrončok <mhroncok@redhat.com> - 6.14.3-1
- Update to 6.14.3
- Fixes: rhbz#1937016
- Fixes: rhbz#1902285
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 6.6.0-4
- Rebuilt for Python 3.10

Loading…
Cancel
Save