From a32bcc1665ada62ec7aafa67aa08ce026f10e52b Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 5 May 2025 00:04:50 +0200 Subject: [PATCH] python313Packages.mne: disable flaky and slow tests --- pkgs/development/python-modules/mne/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mne/default.nix b/pkgs/development/python-modules/mne/default.nix index 070f91c5c96b..1cf7dcc1f19b 100644 --- a/pkgs/development/python-modules/mne/default.nix +++ b/pkgs/development/python-modules/mne/default.nix @@ -90,10 +90,16 @@ buildPythonPackage rec { "test_plotting_scalebars" # tries to write a datetime object to hdf5, which fails: "test_hitachi_basic" + # flaky + "test_fine_cal_systems" + "test_simulate_raw_bem" ]; - # removes 700k lines form pytest log, remove this when scipy is at v1.17.0 - pytestFlagsArray = [ "--disable-warnings" ]; + pytestFlagsArray = [ + "-m 'not (slowtest or ultraslowtest or pgtest)'" + # removes 700k lines form pytest log, remove this when scipy is at v1.17.0 + "--disable-warnings" + ]; pythonImportsCheck = [ "mne" ];