<commit_before>{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, isPyPy
}:

buildPythonPackage rec {
  pname = "suds-jurko";
  version = "0.6";
  disabled = isPyPy;  # lots of failures

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "1s4radwf38kdh3jrn5acbidqlr66sx786fkwi0rgq61hn4n2bdqw";
  };

  buildInputs = [ pytest ];

  doCheck = false; # v0.6 is broken with recent pytest 4.x

  meta = with stdenv.lib; {
    description = "Lightweight SOAP client (Jurko's fork)";
    homepage = https://bitbucket.org/jurko/suds;
    license = licenses.lgpl3;
  };

}<commit_msg>Revert "python-suds-jurko: disable the test suite"<commit_after>{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, isPyPy
}:

buildPythonPackage rec {
  pname = "suds-jurko";
  version = "0.6";
  disabled = isPyPy;  # lots of failures

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "1s4radwf38kdh3jrn5acbidqlr66sx786fkwi0rgq61hn4n2bdqw";
  };

  buildInputs = [ pytest ];

  preBuild = ''
    # fails
    substituteInPlace tests/test_transport_http.py \
      --replace "test_sending_unicode_data" "noop"
  '';

  meta = with stdenv.lib; {
    description = "Lightweight SOAP client (Jurko's fork)";
    homepage = https://bitbucket.org/jurko/suds;
    license = licenses.lgpl3;
  };

}
{'fraction_non_alphanumeric': 0.1184407796101949, 'fraction_numerical': 0.03523238380809595, 'mean_word_length': 3.45, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6075937', 'n_tokens_mistral': 554, 'n_tokens_neox': 512, 'n_words': 103}