ca40e28b75a412bb3d8a6899489c5672782d08d5,tests/python/pants_test/tasks/test_jvm_bundle_integration.py,BundleIntegrationTest,test_bundle_of_nonascii_classes,#BundleIntegrationTest#,19

Before Change


                      "got stdout:\n{2}\n".format(pants_run.returncode,
                                                  pants_run.stderr_data,
                                                  pants_run.stdout_data))
    out_path = os.path.join(get_buildroot(), "dist", "unicode-bundle")
    java_run = subprocess.Popen(["java", "-jar", "unicode.jar"],
                                stdout=subprocess.PIPE,
                                cwd=out_path)
    java_retcode = java_run.wait()

After Change


                                                  pants_run.stdout_data))

    with temporary_dir() as chroot:
      ZIP.extract("dist/unicode.zip", chroot)
      java_run = subprocess.Popen(["java", "-jar", "unicode.jar"],
                                  stdout=subprocess.PIPE,
                                  cwd=chroot)
      stdout, _ = java_run.communicate()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: ca40e28b75a412bb3d8a6899489c5672782d08d5
Time: 2014-07-28
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/tasks/test_jvm_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_of_nonascii_classes


Project Name: pantsbuild/pants
Commit Name: 2c9c338cd721387844d1352c1b0bf77b35c33f0c
Time: 2019-03-01
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/backend/python/tasks/unpack_wheels.py
Class Name: UnpackWheels
Method Name: unpack_target


Project Name: tensorflow/datasets
Commit Name: 9ea53fa7a5c1a3594a5a5019e299a34f38290851
Time: 2020-06-26
Author: sharanramjee@gmail.com
File Name: tensorflow_datasets/core/download/kaggle.py
Class Name: KaggleCompetitionDownloader
Method Name: download_competition