forked from pool/python-pyenchant
- Skip problematic multprocessing test for ALP, bsc#1221034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=38
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyenchant
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -66,7 +66,13 @@ rm -rf website .github archive tools
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec -c 'import enchant; print(vars(enchant.Dict()))'
|
||||
%pytest
|
||||
ignore=""
|
||||
%if 0%{suse_version} == 1600
|
||||
# test_can_use_multiprocessing fails to build in OBS for ALP,
|
||||
# bsc#1221034
|
||||
ignore="--ignore tests/test_multiprocessing.py"
|
||||
%endif
|
||||
%pytest $ignore
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user