anchor.diff:      substituteInPlace setup.cfg \
         --replace "--cov=watchdog" "" \
         --replace "--cov-report=term-missing" ""
  -  '' + lib.optionalString stdenv.hostPlatform.isMusl
  -  # https://github.com/gorakhargosh/watchdog/issues/920
  -  ''
  -    substituteInPlace tests/test_inotify_c.py \
  -      --replace "Unknown error -1" "No error information"
     '';
   
     disabledTests = [
  
positive.code: 
    patches = lib.optionals (stdenv.isDarwin && !stdenv.isAarch64) [
      ./force-kqueue.patch
    ];
  
    buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
  
negative.code: , pytest-timeout
  , pytestCheckHook
  , CoreServices
  , fetchpatch
  }:
  
  buildPythonPackage rec {
  