python3Packages.pysnooper: disable failing test on x86_64-darwin (#506798)

This commit is contained in:
Martin Weinelt
2026-04-05 00:37:39 +00:00
committed by GitHub
@@ -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 = {