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.
This commit is contained in:
Ben Siraphob
2026-04-10 20:48:23 -07:00
parent ccddb7c85a
commit a822ec5a8e
@@ -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"
];