anchor.diff:    '';
   
     # The flag `-A 'not network'` will disable tests that use internet.
  -  # The `-e` flag disables a few problematic tests.
     checkPhase = ''
       runHook preCheck
  -    # The flag `-w` provides the initial directory to search for tests.
  -    # The flag `-A 'not network'` will disable tests that use internet.
  -    nosetests -w $out/${python.sitePackages}/pandas --no-path-adjustment -A 'not slow and not network' \
  -      --verbosity=3
  -     runHook postCheck
  +    py.test $out/${python.sitePackages}/pandas --skip-slow --skip-network
  +    runHook postCheck
     '';
   
     meta = {
  
positive.code:   inherit (stdenv) isDarwin;
  in buildPythonPackage rec {
    pname = "pandas";
    version = "0.19.2";
    name = "${pname}-${version}";
  
    src = fetchurl {
      url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
      sha256 = "6f0f4f598c2b16746803c8bafef7c721c57e4844da752d36240c0acf97658014";
    };
  
    LC_ALL = "en_US.UTF-8";
    buildInputs = [ nose glibcLocales ] ++ optional isDarwin libcxx;
    propagatedBuildInputs = [
      cython
      dateutil
  
negative.code: { buildPythonPackage
  , fetchPypi
  , python
  , stdenv
  , fetchurl
  , pytest
  , glibcLocales
  , cython
  , dateutil
  