[Ironpython-users] Using coverage.py in IronPython app
Jackie Sproat
JackieSproat at smarttech.com
Wed Apr 17 19:00:45 CEST 2013
Anyone used coverage.py with IronPython.
If I run from command line:
C:\>ipy
IronPython 2.7 (2.7.0.40) on .NET 4.0.30319.17929
Type "help", "copyright", "credits" or "license" for more information.
>>> import coverage
<string>:1: DeprecationWarning: object.__new__() takes no parameters
>>> from coverage import coverage
>>> cov = coverage()
>>> cov.start
<bound method coverage.start of <coverage object at 0x000000000000002B>>
>>> cov.stop
<bound method coverage.stop of <coverage object at 0x000000000000002B>>
But if I put this code in main of my IronPython WPF start up file, the app doesn't exits with code 1 (crashes)
Cheers,
Jackie
More information about the Ironpython-users
mailing list