Preventing nose from finding setup.py
Roy Smith
roy at panix.com
Fri May 24 23:12:17 EDT 2013
We've got a package (with an empty __init__.py), which contains a
setup.py file. When I run nosetests, the test discovery code finds
setup.py, thinks it's a test, and tries to run it (with predictably poor
results).
Is there some way to mark this file as not a test? If it was a method in
a file, I would decorate it with @nottest, but that doesn't work here.
More information about the Python-list
mailing list