From a8bce0c17070caccdb1612e0ecdb54d108c6fe3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 3 Mar 2026 23:23:23 +0100 Subject: [PATCH] python313Packages.mss: make tests less flaky --- pkgs/development/python-modules/mss/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mss/default.nix b/pkgs/development/python-modules/mss/default.nix index 3eea4f44c0fa..d208c095b5b6 100644 --- a/pkgs/development/python-modules/mss/default.nix +++ b/pkgs/development/python-modules/mss/default.nix @@ -17,6 +17,7 @@ lsof, pillow, pytest-cov-stub, + pytest-rerunfailures, pytest, pyvirtualdisplay, xvfb-run, @@ -48,6 +49,7 @@ buildPythonPackage rec { lsof pillow pytest-cov-stub + pytest-rerunfailures pytest pyvirtualdisplay xvfb-run @@ -55,7 +57,7 @@ buildPythonPackage rec { checkPhase = '' runHook preCheck - xvfb-run pytest -k "not test_grab_with_tuple and not test_grab_with_tuple_percents and not test_resource_leaks" + xvfb-run pytest -v -k "not test_grab_with_tuple and not test_grab_with_tuple_percents and not test_resource_leaks" runHook postCheck '';