[Distutils] Problem with "custom" version nosetests

Gora Khargosh gora.khargosh at gmail.com
Thu Dec 2 16:24:20 CET 2010

On Thu, Dec 2, 2010 at 4:05 PM, Gora Khargosh <gora.khargosh at gmail.com>wrote:

> Greetings,
> I'm trying to get nosetests to run doctests within my source tree, but I
> get this instead.
> $ nosetests --with-doctest
> Usage: This is a custom version of the zc.buildout nosetests script.  It is
> intended to meet a temporary need if you encounter problems with the
> zc.buildout 1.5 release.
> nosetests: error: no such option: --with-doctest
> Can someone tell me why nose would be "replaced" with a custom version
> and how do I get nosetests to run properly by removing this custom version?
> Thank you. =)
> Cheers.
> --
> Gora Khargosh — गोरा ख़रग़ोश
I have found the problem. I have a bootstrap.py in my project directory
which nosetests scans for tests and ends up being borked. Giving the
bootstrap.py file executable permissions makes nosetests ignore it
and run correctly as expected. =)

HTH anyone who faces the same problem.

Gora Khargosh — गोरा ख़रग़ोश
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20101202/ffb5f38d/attachment.html>

More information about the Distutils-SIG mailing list