##// END OF EJS Templates
Use standard command for coverage.
Thomas Kluyver -
Show More
@@ -294,7 +294,7 b' class IPTester(object):'
294 294 if '--with-coverage' in self.call_args:
295 295 self.coverage_xml = path.abspath(sect+".coverage.xml")
296 296 self.call_args.remove('--with-coverage')
297 self.call_args = ["python-coverage", "run", "--source="+sect] + self.call_args[1:]
297 self.call_args = ["coverage", "run", "--source="+sect] + self.call_args[1:]
298 298
299 299 # Store pids of anything we start to clean up on deletion, if possible
300 300 # (on posix only, since win32 has no os.kill)
@@ -333,7 +333,7 b' class IPTester(object):'
333 333 return 1 # signal failure
334 334
335 335 if self.coverage_xml:
336 subprocess.check_call(["python-coverage", "xml", "-o", self.coverage_xml])
336 subprocess.check_call(["coverage", "xml", "-o", self.coverage_xml])
337 337 return retcode
338 338
339 339 def __del__(self):
General Comments 0
You need to be logged in to leave comments. Login now