xralf
xralf

Reputation: 3762

Nosetests ran 0 tests

When I run

nosetests --doctest-extension=.txt

I get

Ran 0 tests in 0.002s

OK

Why does it say 0 tests when I have tests in the file README.txt?

Upvotes: 1

Views: 830

Answers (1)

wkl
wkl

Reputation: 80031

If you're using doctest you also have to specify that nose has to run with the doctest plugin enabled.

This should do the trick:

nosetests --with-doctest --doctest-extension=txt

Upvotes: 3

Related Questions