python3Packages.pysnooper: disable failing test on x86_64-darwin

This one is timing sensitive and has been failing a lot of on hydra.

https://hydra.nixos.org/job/nixpkgs/unstable/python314Packages.pysnooper.x86_64-darwin
This commit is contained in:
Martin Weinelt
2026-04-05 02:32:30 +02:00
parent 97064f43e9
commit c3b4d95540
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
@@ -22,6 +23,11 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
# timing-sensitive and often breaks on x86_64-darwin
"test_relative_time"
];
pythonImportsCheck = [ "pysnooper" ];
meta = {