Accepting request 1002902 from home:mcalabkova:branches:devel:languages:python

- Skip test_huge_int due to new security feature in Python 3.10.7

OBS-URL: https://build.opensuse.org/request/show/1002902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=23
This commit is contained in:
Markéta Machová 2022-09-12 11:55:44 +00:00 committed by Git OBS Bridge
parent 8bcaf7d58d
commit e6001eada8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +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
-------------------------------------------------------------------
Sun Dec 12 18:45:55 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-astor
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -84,7 +84,8 @@ chmod a-x astor/rtrip.py
%check
# https://github.com/berkerpeksag/astor/issues/196
python39_donttest="test_convert_stdlib"
python310_donttest=${python39_donttest}
# https://github.com/berkerpeksag/astor/issues/212
python310_donttest="${python39_donttest} or test_huge_int"
%pytest tests ${$python_donttest:+ -k "not (${$python_donttest})"}
%files %{python_files}