Re: Python 3 port -- first pass finished
Brian Crowell <[email protected]> Thu, 1 Nov 2012 08:48:30 -0500
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CAAQkdDo3D2iv7dHMT5qVup059rnauVShtQbA8vFRYQwSMQV+3w@mail.gmail.com> |
On Thu, Oct 25, 2012 at 10:31 AM, Brian Crowell <[email protected]> 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 _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig