[Image-SIG] Python 3 port -- first pass finished

Brian Crowell brian at fluggo.com
Thu Nov 1 14:48:30 CET 2012


On Thu, Oct 25, 2012 at 10:31 AM, Brian Crowell <brian at fluggo.com> wrote:
> The test runner *looks* like it includes support for this module:
>
>   http://pypi.python.org/pypi/coverage

I got it working this morning. The results are quite awesome, but
could use some tweaking.

To get it working, I had to:

* Remove the -S switch from the command line (added in run.py) so that
site packages would load on Debian
* Store the coverage object as a global in tester.py
* Have coverage load the previous results

Then just:

import coverage
cov = coverage.coverage()
cov.load()
cov.html_report()

--Brian


More information about the Image-SIG mailing list