开发者

Nosetests ran 0 tests

When I run

nosetests --doctest-extension=.txt

I get

Ran 0 te开发者_开发问答sts in 0.002s

OK

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


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜