You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coverage html --omit=.tox/*
No source for code: '/tmp/python-build.20150204184146.6052/Python-2.7.9/Modules/pyexpat.c'.
My point is that with version 4.0 it now tries to get coverage for C extensions; which I guess it didn't in 3.7.1. Is there a simple way to ignore C extension code?
Hmm, there are two different errors, depending on if the pyexpat.c file couldn't be found (NoSource), or was found and then couldn't be parsed as Python (NotPython). In the NotPython case, we suppress the error, but in the NoSource case we don't.
Originally reported by Damien Nozay (Bitbucket: dnozay, GitHub: dnozay)
coverage==3.7.1 => pass
https://travis-ci.org/xmlrunner/unittest-xml-reporting/builds/62419858
coverage==4.0 => fail
https://travis-ci.org/xmlrunner/unittest-xml-reporting/builds/81695238
coverage html --omit=.tox/*
No source for code: '/tmp/python-build.20150204184146.6052/Python-2.7.9/Modules/pyexpat.c'.
My point is that with version 4.0 it now tries to get coverage for C extensions; which I guess it didn't in 3.7.1. Is there a simple way to ignore C extension code?
The text was updated successfully, but these errors were encountered: