equal
deleted
inserted
replaced
3116 return None |
3116 return None |
3117 |
3117 |
3118 def _checktools(self): |
3118 def _checktools(self): |
3119 """Ensure tools required to run tests are present.""" |
3119 """Ensure tools required to run tests are present.""" |
3120 for p in self.REQUIREDTOOLS: |
3120 for p in self.REQUIREDTOOLS: |
3121 if os.name == 'nt' and not p.endswith('.exe'): |
3121 if os.name == 'nt' and not p.endswith(b'.exe'): |
3122 p += '.exe' |
3122 p += b'.exe' |
3123 found = self._findprogram(p) |
3123 found = self._findprogram(p) |
3124 if found: |
3124 if found: |
3125 vlog("# Found prerequisite", p, "at", found) |
3125 vlog("# Found prerequisite", p, "at", found) |
3126 else: |
3126 else: |
3127 print("WARNING: Did not find prerequisite tool: %s " % |
3127 print("WARNING: Did not find prerequisite tool: %s " % |