From ebe0acca4673a694e97aa2df83702a61b3cd5cd2 2012-01-27 01:16:46 From: Thomas Kluyver Date: 2012-01-27 01:16:46 Subject: [PATCH] Use separate option --with-xml-coverage to ask for coverage xml output. --- diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index b044251..017c722 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -291,9 +291,9 @@ class IPTester(object): if '--with-xunit' in self.call_args: self.call_args.append('--xunit-file=%s' % path.abspath(sect+'.xunit.xml')) - if '--with-coverage' in self.call_args: + if '--with-xml-coverage' in self.call_args: self.coverage_xml = path.abspath(sect+".coverage.xml") - self.call_args.remove('--with-coverage') + self.call_args.remove('--with-xml-coverage') self.call_args = ["coverage", "run", "--source="+sect] + self.call_args[1:] # Store pids of anything we start to clean up on deletion, if possible