- Correct exclusion of test_recursion_error_is_not_flaky for 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=149
This commit is contained in:
Matej Cepl 2022-01-20 16:04:53 +00:00 committed by Git OBS Bridge
parent e66867f8b5
commit 483959e724
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 20 16:04:34 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Correct exclusion of test_recursion_error_is_not_flaky for 3.10.
-------------------------------------------------------------------
Mon Jan 10 16:47:37 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -138,6 +138,8 @@ sed -i 's/assert (arr == 0.0)/assert np.asarray(arr == 0.0)/' tests/numpy/test_g
%check
%if %{with test}
# python3 means Python 3.6 on SLE-15 not a generic exclusion for all Python 3.*
#
# theses tests try to write into global python_sitelib
# https://github.com/HypothesisWorks/hypothesis/issues/2546
donttest="test_updating_the_file_include_new_shrinkers"
@ -148,7 +150,7 @@ python36_donttest+=" or (test_cli_python_equivalence and json)"
python36_donttest+=" or test_mutually_recursive_types_with_typevar"
python3_donttest+=" or test_mutually_recursive_types_with_typevar"
# gh#HypothesisWorks/hypothesis#3035
python3_donttest+=" or test_recursion_error_is_not_flaky"
python310_donttest+=" or test_recursion_error_is_not_flaky"
# requires backports.zoneinfo for python < 3.9
python36_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"
python38_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"