Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gebn opened this issue Oct 15, 2016 · 1 comment
Open
Labels

Comments

@gebn
Copy link

gebn commented Oct 15, 2016

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

@jwhitlock
Copy link
Contributor

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

coverage run ./manage.py test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants