python312Packages.coverage: disable failing tests on x86_64-darwin

These tests fail on python312 and x86_64-darwin because the output
hash of darwin causes an unexpected string to appear in the test output.
This commit is contained in:
Martin Weinelt
2025-06-14 23:07:18 +02:00
parent 678d052a50
commit 0f73703960
@@ -1,6 +1,8 @@
{
lib,
stdenv,
buildPythonPackage,
isPy312,
fetchFromGitHub,
flaky,
hypothesis,
@@ -61,6 +63,12 @@ buildPythonPackage rec {
"test_no_duplicate_packages"
"test_xdist_sys_path_nuttiness_is_fixed"
"test_zipfile"
] ++ lib.optionals (isPy312 && stdenv.hostPlatform.system == "x86_64-darwin") [
# substring that may not be in string is part of the pytest output hash, which appears in the string
"test_nothing_specified"
"test_omit"
"test_omit_2"
"test_omit_as_string"
];
disabledTestPaths = [