anchor.diff:  , mock
   , pythonAtLeast
   , isPy3k
  +, pytest
   }:
   
   buildPythonPackage rec {
  
positive.code:   LC_ALL="en_US.utf-8";
  
    checkPhase = ''
      HOME=$(mktemp -d) nosetests tests []
    '';
  
    meta = with lib; {
  
negative.code:   };
  
    buildInputs = [ glibcLocales ];
    checkInputs = [ nose pyftpdlib mock psutil pytest ];
    propagatedBuildInputs = [ six appdirs pytz ]
      ++ lib.optionals (!isPy3k) [ backports_os ]
      ++ lib.optionals (!pythonAtLeast "3.6") [ typing ]
  