ebf57169e53ca4ee3696149057bb2c98eb9a86b9,tests/python/pants_test/backend/python/tasks/test_interpreter_selection_integration.py,InterpreterSelectionIntegrationTest,_echo_version,#InterpreterSelectionIntegrationTest#Any#,42

Before Change



      // Run the built pex.
      exe = os.path.join(distdir, binary_name + ".pex")
      proc = subprocess.Popen([exe], stdout=subprocess.PIPE)
      (stdout_data, _) = proc.communicate()
      return stdout_data.decode("utf-8")

  def _test_version(self, version):
    echo = self._echo_version(version)

After Change



      // Run the built pex.
      exe = os.path.join(distdir, binary_name + ".pex")
      return self._popen_stdout(exe)

  def _popen_stdout(self, exe):
    proc = subprocess.Popen([exe], stdout=subprocess.PIPE)
    (stdout_data, _) = proc.communicate()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: pantsbuild/pants
Commit Name: ebf57169e53ca4ee3696149057bb2c98eb9a86b9
Time: 2019-05-21
Author: stuhood@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/test_interpreter_selection_integration.py
Class Name: InterpreterSelectionIntegrationTest
Method Name: _echo_version


Project Name: ChrisCummins/clgen
Commit Name: e4d0118115d1209f15aaaeba7e6e3424b87c2103
Time: 2018-08-27
Author: chrisc.101@gmail.com
File Name: datasets/github/scrape_repos/preprocessors/extractors.py
Class Name:
Method Name: JavaMethods


Project Name: studioml/studio
Commit Name: 580a99bfb656a6f6b99133c9986252e619713fe1
Time: 2017-08-15
Author: peter.zhokhov@Peters-MBP.geneticfinance.com
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: _get_experiment_logtail


Project Name: pantsbuild/pants
Commit Name: ebf57169e53ca4ee3696149057bb2c98eb9a86b9
Time: 2019-05-21
Author: stuhood@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/test_interpreter_selection_integration.py
Class Name: InterpreterSelectionIntegrationTest
Method Name: _echo_version