559e68fcac66c449772be2b21af92f502df70e5f,scripts/TestHarness/testers/CrowPython.py,CrowPython,CrowPython_1,#,23

Before Change


class CrowPython(Tester):
   A python test interface for Crow 
  try:
    output_swig = subprocess.Popen(["swig", "-version"], stdout=subprocess.PIPE,
                                   universal_newlines=True).communicate()[0]
  except OSError:
    output_swig = "Failed"

  has_swig2 = "Version 2.0" in output_swig or "Version 3.0" in output_swig

  @staticmethod
  def get_valid_params():
    

After Change



class CrowPython(Tester):
   A python test interface for Crow 
  hasSwig2 = any("Version {:d}.0".format(v) in outputSwig for v in [2, 3, 4])

  @staticmethod
  def get_valid_params():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: idaholab/raven
Commit Name: 559e68fcac66c449772be2b21af92f502df70e5f
Time: 2019-11-07
Author: paul.talbot@inl.gov
File Name: scripts/TestHarness/testers/CrowPython.py
Class Name: CrowPython
Method Name: CrowPython_1


Project Name: bjherger/ResumeParser
Commit Name: e08fcab00157590859a9a19bd483825e9ba75c18
Time: 2019-03-29
Author: 13herger@gmail.com
File Name: bin/lib.py
Class Name:
Method Name: convert_pdf


Project Name: MTG/freesound
Commit Name: 99a1522f89b93b12917087ae7ae7d910cf0c2cf1
Time: 2018-07-18
Author: phil.tgun@gmail.com
File Name: sounds/models.py
Class Name: Sound
Method Name: compute_crc