anchor.diff:    LC_ALL="en_US.utf-8";
   
     checkPhase = ''
  -    HOME=$(mktemp -d) nosetests tests []
  +    HOME=$(mktemp -d) pytest -k 'not user_data_repr' --ignore=tests/test_opener.py
     '';
   
     meta = with lib; {
  
positive.code: , mock
  , pythonAtLeast
  , isPy3k
  }:
  
  buildPythonPackage rec {
  
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 ]
  