From 7ef51b8254259c8610e2e0219c8103db361b2bf5 2012-01-27 01:16:46 From: Thomas Kluyver Date: 2012-01-27 01:16:46 Subject: [PATCH] Use standard command for coverage. --- diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index 59c3495..b044251 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -294,7 +294,7 @@ class IPTester(object): if '--with-coverage' in self.call_args: self.coverage_xml = path.abspath(sect+".coverage.xml") self.call_args.remove('--with-coverage') - self.call_args = ["python-coverage", "run", "--source="+sect] + self.call_args[1:] + self.call_args = ["coverage", "run", "--source="+sect] + self.call_args[1:] # Store pids of anything we start to clean up on deletion, if possible # (on posix only, since win32 has no os.kill) @@ -333,7 +333,7 @@ class IPTester(object): return 1 # signal failure if self.coverage_xml: - subprocess.check_call(["python-coverage", "xml", "-o", self.coverage_xml]) + subprocess.check_call(["coverage", "xml", "-o", self.coverage_xml]) return retcode def __del__(self):