14
0
forked from pool/python-joblib

Accepting request 839587 from home:pgajdos:python

- disable yet another tests [bsc#1177209]

OBS-URL: https://build.opensuse.org/request/show/839587
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=40
This commit is contained in:
Tomáš Chvátal
2020-10-05 14:21:50 +00:00
committed by Git OBS Bridge
parent 953983ba71
commit 2dee5e3204
2 changed files with 27 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 5 14:18:31 UTC 2020 - pgajdos@suse.com
- disable yet another tests [bsc#1177209]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 8 08:26:41 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org> Tue Sep 8 08:26:41 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -72,7 +72,28 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays.
%check %check
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%pytest # turn off unreliable tests across architectures
# https://bugzilla.suse.com/show_bug.cgi?id=1177209
# they have been seen failing for the first time on following
# architectures:
# s390x:
# test_hash_numpy_noncontiguous
# test_hashes_are_different_between_c_and_fortran_contiguous_arrays
# test_hashes_stay_the_same_with_numpy_objects
# test_non_contiguous_array_pickling
# x86_64:
# test_multithreaded_parallel_termination_resource_tracker_silent
# aarch64:
# test_resource_tracker_silent_when_reference_cycles
# test_child_raises_parent_exits_cleanly
DISABLED_TESTS="test_hash_numpy_noncontiguous or \
test_hashes_are_different_between_c_and_fortran_contiguous_arrays or \
test_hashes_stay_the_same_with_numpy_objects or \
test_non_contiguous_array_pickling or \
test_multithreaded_parallel_termination_resource_tracker_silent or \
test_resource_tracker_silent_when_reference_cycles or \
test_child_raises_parent_exits_cleanly"
%pytest -k "not ($DISABLED_TESTS)"
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt