14
0

- Skip TestDeeplyNested.testRegr for gh#pyinstaller/pyinstaller#4406

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=12
This commit is contained in:
2021-09-16 10:22:15 +00:00
committed by Git OBS Bridge
parent daa19307f0
commit 6f82ae126d
3 changed files with 11 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ Requires: python-macholib >= 1.8
Requires: python-pefile >= 2017.8.1
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Recommends: upx
%if %{with test}
BuildRequires: %{python_module Babel}
@@ -106,7 +106,8 @@ fi
%check
export LANG=en_US.UTF-8
# test_get_co_using_ctypes, test_get_co_using_ctypes_from_extension, test_replace_paths_in_code broken with python 3.8 on PyInstall 3.6
%pytest_arch -n auto tests/unit -k 'not (test_find_module or test_egg and not test_nspkg1 or test_get_co_using_ctypes or test_get_co_using_ctypes_from_extension or test_replace_paths_in_code)'
# gh#pyinstaller/pyinstaller#4406 skip TestDeeplyNested.testRegr (it is just the only method in the class)
%pytest_arch -n auto tests/unit -k 'not (test_find_module or test_egg and not test_nspkg1 or test_get_co_using_ctypes or test_get_co_using_ctypes_from_extension or test_replace_paths_in_code or TestDeeplyNested)'
%endif
%post