- Skip test_huge_int due to new security feature in Python

* https://github.com/python/cpython/issues/95778

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=24
This commit is contained in:
Markéta Machová 2022-09-12 12:16:30 +00:00 committed by Git OBS Bridge
parent e6001eada8
commit 06c4f2e91b
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Mon Sep 12 11:52:11 UTC 2022 - Markéta Machová <mmachova@suse.com>
- Skip test_huge_int due to new security feature in Python 3.10.7
- Skip test_huge_int due to new security feature in Python
* https://github.com/python/cpython/issues/95778
-------------------------------------------------------------------
Sun Dec 12 18:45:55 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -82,10 +82,11 @@ chmod a-x astor/rtrip.py
%python_expand chmod 755 %{buildroot}%{$python_sitelib}/astor/rtrip.py
%check
# https://github.com/berkerpeksag/astor/issues/196
python39_donttest="test_convert_stdlib"
# https://github.com/berkerpeksag/astor/issues/212
python310_donttest="${python39_donttest} or test_huge_int"
python_donttest="test_huge_int"
# https://github.com/berkerpeksag/astor/issues/196
python39_donttest="${python_donttest} or test_convert_stdlib"
python310_donttest=${python39_donttest}
%pytest tests ${$python_donttest:+ -k "not (${$python_donttest})"}
%files %{python_files}