On Thu, Dec 2, 2010 at 4:05 PM, Gora Khargosh <[email protected]>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.

Cheers.
-- 
Gora Khargosh — गोरा ख़रग़ोश
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to