From a822ec5a8e9f3c006c418e1525d2f82d86707bd8 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Fri, 10 Apr 2026 19:20:56 -0700 Subject: [PATCH] python3Packages.pysnooper: disable timing-sensitive test on all Darwin The `test_relative_time` test was only disabled on x86_64-darwin but also fails on aarch64-darwin due to the same timing sensitivity. Disable it on all Darwin platforms. --- pkgs/development/python-modules/pysnooper/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysnooper/default.nix b/pkgs/development/python-modules/pysnooper/default.nix index 7b2c7282b033..2a19af6458d1 100644 --- a/pkgs/development/python-modules/pysnooper/default.nix +++ b/pkgs/development/python-modules/pysnooper/default.nix @@ -23,8 +23,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # timing-sensitive and often breaks on x86_64-darwin + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # timing-sensitive and often breaks on Darwin "test_relative_time" ];