[Ironpython-users] Using coverage.py in IronPython app
JackieSproat at smarttech.com
Wed Apr 17 19:00:45 CEST 2013
Anyone used coverage.py with IronPython.
If I run from command line:
IronPython 2.7 (184.108.40.206) 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()
<bound method coverage.start of <coverage object at 0x000000000000002B>>
<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)
More information about the Ironpython-users