15
0

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

- Workaround test failure with recent libalternatives changes
  and revisit skipped tests

OBS-URL: https://build.opensuse.org/request/show/1286888
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=35
This commit is contained in:
2025-06-19 09:57:49 +00:00
committed by Git OBS Bridge
parent 2daabfaee0
commit 3288ef371a
2 changed files with 7 additions and 4 deletions

View File

@@ -67,9 +67,6 @@ sed -i '1{\@^#!%{_bindir}/env python@d}' pympler/asizeof.py
%check
# gh#pympler/pympler#134
skiptests="test_repr_function or test_leng"
# gh#pympler/pympler#148
skiptests+=" or test_findgarbage or test_prune or test_get_tree"
skiptests+=" or test_findgarbage or test_prune or test_get_tree"
# gh#pympler/pympler#163
skiptests+=" or test_edges_new or test_edges_old or test_split or test_traceback"
%if 0%{?qemu_user_space_build}
@@ -78,7 +75,7 @@ skiptests+=" or test_snapshot_members"
%endif
# skip expensive tests
export COVERAGE=1
%pytest -k "not ($skiptests)"
%python_exec -m pytest -k "not ($skiptests)"
%files %{python_files}
%license LICENSE