add if __name__ == "__main__" in bootstrap.py script file to avoid some issue
Bug #303432 reported by
KLEIN Stéphane
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I use zc.buildout with nose unittest utils (http://
When I launch nose with doctest option, I've this error :
$ bin/test --with-doctest -v
Error: Invalid option --
This issue is raise by bootstrap.py script file because this script is load and executed by nose.
I suggest to add if __name__ == "__main__": in bootstrap.py file.
Regards,
Stephane
To post a comment you must log in.
This seems like reasonable to me, any objections?