anchor.diff:    inherit doCheck;
   
     preCheck = ''
  -    # Some tests depends on executables on PATH
  -    PATH="$out/bin:${gunicorn}/bin:$PATH"
  +    # Some tests depends on sanic on PATH
  +    PATH="$out/bin:$PATH"
     '';
   
     disabledTests = [
  
positive.code:   ] ++ lib.optionals stdenv.isDarwin [
      # https://github.com/sanic-org/sanic/issues/2298
      "test_no_exceptions_when_cancel_pending_request"
    ];
  
    # avoid usage of nixpkgs-review in darwin since tests will compete usage
  
negative.code: , buildPythonPackage
  , doCheck ? true
  , fetchFromGitHub
  , gunicorn
  , httptools
  , multidict
  