Unverified Commit 0f737039 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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.
parent 678d052a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{
  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 = [