anchor.diff: -{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27
  +{ lib
  +, stdenv
  +, buildPythonPackage
  +, fetchPypi
  +, isPy27
   , backports_ssl_match_hostname
   , mock
   , paramiko
  -, pytest
   , pytestCheckHook
   , requests
   , six
  
positive.code: 
  buildPythonPackage rec {
    pname = "docker";
    version = "4.4.3";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "de5753b7f6486dd541a98393e423e387579b8974a5068748b83f852cc76a89d6";
    };
  
    nativeBuildInputs = lib.optional isPy27 mock;
  
negative.code:   ];
  
    pytestFlagsArray = [ "tests/unit" ];
  
    # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
    disabledTests = lib.optionals stdenv.isDarwin [ "api_test" "stream_response" "socket_file" ];
  
    dontUseSetuptoolsCheck = true;
  
  