django-nose icon indicating copy to clipboard operation
django-nose copied to clipboard

Coverage.py warning: Module _ was previously imported, but not measured.

Open gebn opened this issue 9 years ago • 1 comments

I see this warning for the project module and all app modules I'm testing. I assume Django is importing all of these before coverage is run, hence the warnings, however is there a way of hiding them, given it is to be expected?

django: 1.10.2 nose: 1.3.7 django-nose: 1.4.4 coverage: 4.2

gebn avatar Oct 15 '16 23:10 gebn

What command are you using to run coverage tests? coverage recommends something like:

coverage run ./manage.py test

jwhitlock avatar Oct 19 '16 16:10 jwhitlock