diff --git a/pkgs/development/python-modules/coverage/default.nix b/pkgs/development/python-modules/coverage/default.nix index 6139480d86f5..2d3eb1d0dc1e 100644 --- a/pkgs/development/python-modules/coverage/default.nix +++ b/pkgs/development/python-modules/coverage/default.nix @@ -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 = [