From 436a71c1e1e647a3fb2989cfcf28b5a7c979f24f Mon Sep 17 00:00:00 2001 From: Sandro Date: Jan 08 2024 21:57:28 +0000 Subject: Amend list of tests requiring network - Refactor test exceptions (one per line) --- diff --git a/python-elephant.spec b/python-elephant.spec index 211b694..f782215 100644 --- a/python-elephant.spec +++ b/python-elephant.spec @@ -75,17 +75,27 @@ cat requirements/requirements-extras.txt >> requirements/requirements-tests.txt # fails on aarch64 # reported upstream: https://github.com/NeuralEnsemble/elephant/issues/479 %ifarch %{arm64} -k="${k:-}${k:+ and }not test_welch_psd_multidim_input and not test_welch_cohere_multidim_input and not test_multitaper_cohere_perfect_cohere" +k="${k:-}${k:+ and }not test_welch_psd_multidim_input" +k="${k:-}${k:+ and }not test_welch_cohere_multidim_input" +k="${k:-}${k:+ and }not test_multitaper_cohere_perfect_cohere" %endif # fails on ppc64le %ifarch %{power64} -k="${k:-}${k:+ and} not test_multitaper_cohere_perfect_cohere" +k="${k:-}${k:+ and }not test_multitaper_cohere_perfect_cohere" %endif %if %{without net_tests} # Disable tests that download bits -k="${k:-}${k:+ and }not test_repr and not test__UE_surrogate and not test_spike_contrast_with_Izhikevich_network_auto and not test_Riehle_et_al_97_UE and not test_multitaper_psd_against_nitime and not test_WPLI_ and not test_victor_purpura_matlab_comparison_" +k="${k:-}${k:+ and }not test_repr" +k="${k:-}${k:+ and }not test__UE_surrogate" +k="${k:-}${k:+ and }not test_spike_contrast_with_Izhikevich_network_auto" +k="${k:-}${k:+ and }not test_Riehle_et_al_97_UE" +k="${k:-}${k:+ and }not test_multitaper_psd_against_nitime" +k="${k:-}${k:+ and }not test_WPLI_" +k="${k:-}${k:+ and }not test_victor_purpura_matlab_comparison_" +k="${k:-}${k:+ and }not test_pairwise_spectral_granger" +k="${k:-}${k:+ and }not test_sttc_validation_test" %endif # serial